pgpool2.git / summary / log / commit / refs
commit 9c236d08deda3d98f529dab4d94755709890d431
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Sun Feb 24 12:35:40 2019 +0000
Docs: add note to detach_false_primary configuration parameter.
To use this feature, sr_check_user must be super user or in pg_monitor
group.
Per bug 469.
doc.ja/src/sgml/failover.sgml | 28 ++++++++++++++++++++++++++++
doc/src/sgml/failover.sgml | 21 +++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/doc.ja/src/sgml/failover.sgml b/doc.ja/src/sgml/failover.sgml
index e1f3817fa..c465a32fb 100644
--- a/doc.ja/src/sgml/failover.sgml
+++ b/doc.ja/src/sgml/failover.sgml
@@ -673,6 +673,34 @@ onにすると、不正なプライマリを切り離します。
<productname>Pgpool-II</productname>が起動した時、不正なプライマリのチェックは<productname>Pgpool-II</productname>のメインプロセスの中で一度だけ行われます。
もし<xref linkend="guc-sr-check-period">が0より大きければ、不正なプライマリのチェックは、ストリーミングレプリケーションの遅延チェックと同じタイミングで行われます。
</para>
+
+ <note>
+ <para>
+<!--
+ <xref linkend="guc-sr-check-user"> must
+ be <productname>PostgreSQL</productname> super user or
+ in "pg_monitor" group to use this feature. To
+ make <xref linkend="guc-sr-check-user"> in pg_monitor
+ group, execute following SQL command
+ by <productname>PostgreSQL</productname> super user
+ (replace "sr_check_user" with the setting
+ of <xref linkend="guc-sr-check-user">):
+-->
+この機能を使うためには、<xref linkend="guc-sr-check-user">は<productname>PostgreSQL</productname>のスーパーユーザーであるか、"pg_monitor"グループに所属していなければなりません。
+<xref linkend="guc-sr-check-user">をpg_monitorグループに所属させるには、以下のSQLコマンドを<productname>PostgreSQL</productname>スーパーユーザーで実行してください("sr_check_user"を<xref linkend="guc-sr-check-user">の設定値で置き換えてください)
+ <programlisting>
+GRANT pg_monitor TO sr_check_user;
+ </programlisting>
+<!--
+ For <productname>PostgreSQL</productname> 9.6, there's
+ no pg_monitor group
+ and <xref linkend="guc-sr-check-user"> must
+ be <productname>PostgreSQL</productname> super user.
+-->
+<productname>PostgreSQL</productname> 9.6にはpg_monitorグループがないので、<xref linkend="guc-sr-check-user">は<productname>PostgreSQL</productname>のスーパーユーザーでなければなりません。
+ </para>
+ </note>
+
<para>
<!--
This parameter is only applicable in the streaming replication mode.
diff --git a/doc/src/sgml/failover.sgml b/doc/src/sgml/failover.sgml
index 01cc0f564..033b6922a 100644
--- a/doc/src/sgml/failover.sgml
+++ b/doc/src/sgml/failover.sgml
@@ -454,6 +454,27 @@
than 0, the false primaries checking will be performed at
the same timing of streaming replication delay checking.
</para>
+
+ <note>
+ <para>
+ <xref linkend="guc-sr-check-user"> must
+ be <productname>PostgreSQL</productname> super user or
+ in "pg_monitor" group to use this feature. To
+ make <xref linkend="guc-sr-check-user"> in pg_monitor
+ group, execute following SQL command
+ by <productname>PostgreSQL</productname> super user
+ (replace "sr_check_user" with the setting
+ of <xref linkend="guc-sr-check-user">):
+ <programlisting>
+GRANT pg_monitor TO sr_check_user;
+ </programlisting>
+ For <productname>PostgreSQL</productname> 9.6, there's
+ no pg_monitor group
+ and <xref linkend="guc-sr-check-user"> must
+ be <productname>PostgreSQL</productname> super user.
+ </para>
+ </note>
+
<para>
This parameter is only applicable in the streaming replication mode.
</para>
[parent: b1f18e3243ad]