Currently the default values of *_user parameters are "nobody".
This commit changes the default value of *_user parameters to ''.
<para>
<!--
Specifies the <productname>PostgreSQL</> user name to perform health check.
+ Default is <literal>''</literal>(empty).
The same user must exist in all the <productname>PostgreSQL</> backends.
Otherwise, health check results in an error.
-->
ヘルスチェックを行う<productname>PostgreSQL</>ユーザ名を指定します。
+ デフォルトは<literal>''</literal>(空文字)です。
同じユーザ名が全ての<productname>PostgreSQL</>バックエンドに存在していなければなりません。
さもないと、ヘルスチェックがエラーとなります。
</para>
<para>
<!--
Specifies the <productname>PostgreSQL</> user name to perform online recovery.
+ Default is <literal>''</literal>(empty).
<varname>recovery_user</varname> must specify superuser,
because <function>pgpool_recovery</function> function is executed
during online recovery, require superuser privilege.
-->
オンラインリカバリを行うための<productname>PostgreSQL</>ユーザ名です。
+ デフォルトは<literal>''</literal>(空文字)です。
オンラインリカバリで実行される<function>pgpool_recovery</function>関数はPostgreSQLのスーパーユーザ権限が必要なため、<varname>recovery_user</varname>にスーパーユーザを指定しなければなりません。
</para>
<para>
<para>
<!--
Specifies the <productname>PostgreSQL</> user name to perform streaming replication check.
+ Default is <literal>''</literal>(empty).
The user must have LOGIN privilege and exist on all the
<productname>PostgreSQL</> backends.
-->
ストリーミングレプリケーションのチェックを行う<productname>PostgreSQL</>ユーザ名を指定します。
+ デフォルトは<literal>''</literal>(空文字)です。
このユーザはLOGIN権限を持ち、すべてのバックエンドに存在しなければなりません。
</para>
<para>
<!--
Specifies the user name for the connection used for the life
check of remote <productname>Pgpool-II</productname>.
- Default is <literal>"nobody"</literal>.
+ Default is <literal>''</literal>(empty).
-->
リモートの<productname>Pgpool-II</productname>の死活監視用の接続先のユーザ名です。
- デフォルトは<literal>'nobody'</literal>です。
+ デフォルトは<literal>''</literal>(空文字)です。
</para>
<para>
<!--
<listitem>
<para>
Specifies the <productname>PostgreSQL</> user name to perform health check.
+ Default is <literal>''</literal>(empty).
The same user must exist in all the <productname>PostgreSQL</> backends.
Otherwise, health check causes an error.
</para>
<listitem>
<para>
Specifies the <productname>PostgreSQL</> user name to perform online recovery.
+ Default is <literal>''</literal>(empty).
+ <varname>recovery_user</varname> must specify superuser,
+ because <function>pgpool_recovery</function> function is executed
+ during online recovery, require superuser privilege.
</para>
<para>
This parameter can be changed by reloading the <productname>Pgpool-II</> configurations.
<para>
Specifies the <productname>PostgreSQL</> user name to perform streaming replication check.
+ Default is <literal>''</literal>(empty).
The user must have LOGIN privilege and exist on all the
<productname>PostgreSQL</> backends.
</para>
<para>
Specifies the user name for the connection used for the life
check of remote <productname>Pgpool-II</productname>.
- Default is <literal>"nobody"</literal>.
+ Default is <literal>''</literal>(empty).
</para>
<para>
<varname>wd_lifecheck_user</varname> is only applicable if the
CONFIG_VAR_TYPE_STRING, false, 0
},
&g_pool_config.sr_check_user,
- "nobody",
+ "",
NULL, NULL, NULL, NULL
},
CONFIG_VAR_TYPE_STRING, false, 0
},
&g_pool_config.recovery_user,
- "nobody",
+ "",
NULL, NULL, NULL, NULL
},
CONFIG_VAR_TYPE_STRING, false, 0
},
&g_pool_config.wd_lifecheck_user,
- "nobody",
+ "",
NULL, NULL, NULL, NULL
},
CONFIG_VAR_TYPE_STRING_ARRAY, true, 0, MAX_NUM_BACKENDS
},
NULL,
- "nobody",
+ "",
{
{"health_check_user", CFGCXT_RELOAD, HEALTH_CHECK_CONFIG,
"Default PostgreSQL user name to perform health check on node for which health_check_user[node-id] is not specified.",
CONFIG_VAR_TYPE_STRING, false, DEFAULT_FOR_NO_VALUE_ARRAY_VAR
},
&g_pool_config.health_check_user,
- "nobody",
+ "",
NULL, NULL, NULL, NULL
},
HealthCheckUserAssignFunc, NULL, HealthCheckUserShowFunc, BackendSlotEmptyCheckFunc
#sr_check_period = 10
# Streaming replication check period
# Default is 10s.
-#sr_check_user = 'nobody'
+#sr_check_user = ''
# Streaming replication check user
# This is necessary even if you disable streaming
# replication delay check by sr_check_period = 0
#health_check_timeout = 20
# Health check timeout
# 0 means no timeout
-#health_check_user = 'nobody'
+#health_check_user = ''
# Health check user
#health_check_password = ''
# Password for health check user
#------------------------------------------------------------------------------
#health_check_period0 = 0
#health_check_timeout0 = 20
-#health_check_user0 = 'nobody'
+#health_check_user0 = ''
#health_check_password0 = ''
#health_check_database0 = ''
#health_check_max_retries0 = 0
# ONLINE RECOVERY
#------------------------------------------------------------------------------
-#recovery_user = 'nobody'
+#recovery_user = ''
# Online recovery user
#recovery_password = ''
# Online recovery password
#wd_lifecheck_dbname = 'template1'
# Database name connected for lifecheck
# (change requires restart)
-#wd_lifecheck_user = 'nobody'
+#wd_lifecheck_user = ''
# watchdog user monitoring pgpools in lifecheck
# (change requires restart)
#wd_lifecheck_password = ''