Mega typo fix for docs and program source codes.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 7 Jun 2024 10:21:30 +0000 (19:21 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 7 Jun 2024 10:29:01 +0000 (19:29 +0900)
Author: Umar Hayat

52 files changed:
doc.ja/src/sgml/advanced.sgml
doc.ja/src/sgml/ref/pcp_proc_info.sgml
doc.ja/src/sgml/ref/show_pool_nodes.sgml
doc.ja/src/sgml/release-3.3.sgml
doc.ja/src/sgml/release-3.4.sgml
doc.ja/src/sgml/release-3.5.sgml
doc.ja/src/sgml/release-3.6.sgml
doc.ja/src/sgml/release-3.7.sgml
doc.ja/src/sgml/release-4.0.sgml
doc.ja/src/sgml/release-4.1.sgml
doc.ja/src/sgml/release-4.2.sgml
doc.ja/src/sgml/release-4.3.sgml
doc.ja/src/sgml/release-4.4.sgml
doc.ja/src/sgml/runtime.sgml
doc/src/sgml/example-AWS.sgml
doc/src/sgml/example-cluster.sgml
doc/src/sgml/ref/pcp_proc_info.sgml
doc/src/sgml/ref/show_pool_cache.sgml
doc/src/sgml/release-3.6.sgml
doc/src/sgml/release-3.7.sgml
doc/src/sgml/release-4.0.sgml
doc/src/sgml/release-4.1.sgml
doc/src/sgml/release-4.2.sgml
doc/src/sgml/release-4.3.sgml
doc/src/sgml/release-4.4.sgml
src/auth/pool_passwd.c
src/config/README
src/config/pool_config_variables.c
src/include/context/pool_session_context.h
src/include/pool.h
src/include/pool_config.h
src/include/query_cache/pool_memqcache.h
src/libs/pcp/pcp.c
src/main/health_check.c
src/main/main.c
src/main/pgpool_main.c
src/protocol/child.c
src/protocol/pool_pg_utils.c
src/protocol/pool_process_query.c
src/protocol/pool_proto_modules.c
src/query_cache/pool_memqcache.c
src/rewrite/pool_timestamp.c
src/sample/pgpool.conf.sample-stream
src/streaming_replication/pool_worker_child.c
src/tools/pgproto/buffer.c
src/tools/pgproto/extended_query.c
src/utils/pool_process_reporting.c
src/utils/pool_relcache.c
src/utils/pool_shmem.c
src/utils/pool_ssl.c
src/watchdog/watchdog.c
src/watchdog/wd_json_data.c

index 728cb0a3f1a9752c4aa13028645faaba6c7ffcf6..e240ae310fd3c4895bca663ada22ca2c7b5315d0 100644 (file)
     </para>
     <para>
      <!--
-     The result packet returnd by watchdog for the "GET NODES LIST"
+     The result packet returned by watchdog for the "GET NODES LIST"
      will contains the list of all configured watchdog nodes to do
      health check on in the <acronym>JSON</acronym> format.
      The <acronym>JSON</acronym> of the watchdog nodes contains the
     status and brings the virtual IP assigned to watchdog down.
     Thus clients of <productname>Pgpool-II</productname> cannot
     connect to <productname>Pgpool-II</productname> using the
-    virtual IP any more. This is neccessary to avoid split-brain,
+    virtual IP any more. This is necessary to avoid split-brain,
     that is, situations where there are multiple active
     <productname>Pgpool-II</productname>.
     -->
 
  <sect1 id="tutorial-advanced-arch">
   <!--
-  <title>Architecure of the watchdog</title>
+  <title>Architecture of the watchdog</title>
   -->
   <title>watchdogの構造</title>
 
index 4e41d0bf372a69bd8d5ebfb46989dc9223a6ccad..c37b3dd05d2a985eb5488d3a3071e7a0b5204018 100644 (file)
@@ -151,7 +151,7 @@ test kawamoto 2021-09-28 04:16:00 0 3 0 2021-09-28 04:16:03 2021-09-28 04:16:03
     14. pgpool child process id
     15. PostgreSQL backend id
     16. process status
-    17. 1 if backend is load balance node and frontend connected, 0 othewise
+    17. 1 if backend is load balance node and frontend connected, 0 otherwise
     -->
     1. 接続先のデータベース名
     2. 接続先のユーザ名
index 9ccecc4408bda50addb18f1aee068de338ec0460..b184daa88d0b77cd8e855848b21d04a59656f911 100644 (file)
@@ -42,7 +42,7 @@
    hostname, the port, the status, the weight (only meaningful if
    you use the load balancing mode), the role, the SELECT query
    counts issued to each backend, whether each node is the load
-   bakance node or not, the replication delay (only if in streaming
+   balance node or not, the replication delay (only if in streaming
    replication mode) and last status change time. The possible
    values in the status column are explained in
    the <xref linkend="pcp-node-info"> reference. If the hostname is
index 59c51e1f5d301888474a617dc947f12d9de2036e..9606c837f1e5827e0fad02c464dce7dad248a9d7 100644 (file)
     </para>
     <para>
      <!--
-     Removeing "Type=forking" and add OPTS=" -n" to
+     Removing "Type=forking" and add OPTS=" -n" to
      run Pgpool-II with non-daemon mode, because we need to redirect logs.
      Using "journalctl" command to see Pgpool-II systemd log.
      -->
index 5fa7c83562584f34211d363d2905d0cd7295de36..d8a9a613eae6bddb54680040224ec7c6068a4af4 100644 (file)
     </para>
     <para>
      <!--
-     When all backend nodes are down, <productname>Pgpool-II</> throws an uncorrect
+     When all backend nodes are down, <productname>Pgpool-II</> throws an incorrect
      error message "ERROR: connection cache is full". Change the error
      message to "all backend nodes are down, pgpool requires at least one valid node".
      -->
     <para>
      <!--
      In a explicit transaction, the <literal>SELECT</literal> results are cached in temporary buffer.
-     If a write <acronym>SQL</acronym> is sent which modifies the table, the temporary buffe should be reset.
+     If a write <acronym>SQL</acronym> is sent which modifies the table, the temporary buffer should be reset.
      -->
      明示的なトランザクションでは、<literal>SELECT</literal>の結果は一時バッファにキャッシュされます。
      テーブルを変更する書込み<acronym>SQL</acronym>が送信されると、一時的なバッファをリセットしなければなりません。
     </para>
     <para>
      <!--
-     Removeing "Type=forking" and add OPTS=" -n" to
+     Removing "Type=forking" and add OPTS=" -n" to
      run Pgpool-II with non-daemon mode, because we need to redirect logs.
      Using "journalctl" command to see Pgpool-II systemd log.
      -->
index c07c8dc7405c8176ccdfb51afb0bc0d47e5dc802..2db450965d8dd2e97ac524b2fc7c515646e7eba9 100644 (file)
     -->
     <para>
      <!--
-     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failire. (Bo Peng)
+     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failure. (Bo Peng)
      -->
      起動時のbind()エラーを回避するために、ソケットファイルが存在するかどうかを確認し、
      PIDファイルが存在しない場合、それらのソケットファイルを削除するように修正しました。(Bo Peng)
     -->
     <para>
      <!--
-     Fix sefault when query cache is enabled. (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
+     Fix segfault when query cache is enabled. (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
      -->
      クエリキャッシュが有効な場合に発生するセグメンテーション違反を修正しました。(<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
     </para>
     </para>
     <para>
      <!--
-     When all backend nodes are down, <productname>Pgpool-II</> throws an uncorrect
+     When all backend nodes are down, <productname>Pgpool-II</> throws an incorrect
      error message "ERROR: connection cache is full". Change the error
      message to "all backend nodes are down, pgpool requires at least one valid node".
      -->
     <para>
      <!--
      In a explicit transaction, the <literal>SELECT</literal> results are cached in temporary buffer.
-     If a write <acronym>SQL</acronym> is sent which modifies the table, the temporary buffe should be reset.
+     If a write <acronym>SQL</acronym> is sent which modifies the table, the temporary buffer should be reset.
      -->
      明示的なトランザクションでは、<literal>SELECT</literal>の結果は一時バッファにキャッシュされます。
      テーブルを変更する書込み<acronym>SQL</acronym>が送信されると、一時的なバッファをリセットしなければなりません。
     </para>
     <para>
      <!--
-     Removeing "Type=forking" and add OPTS=" -n" to
+     Removing "Type=forking" and add OPTS=" -n" to
      run Pgpool-II with non-daemon mode, because we need to redirect logs.
      Using "journalctl" command to see Pgpool-II systemd log.
      -->
      <!--
      But the problem with this technique is that, for the instance when the node has
      announced itself as a master/coordinator of the cluster and is waiting for
-     the standby nodes to recognise it as a Master node. For that period of time
+     the standby nodes to recognize it as a Master node. For that period of time
      the watchdog state of the node is Master/coordinator, but it is yet not fully
      capable of handling the failover and failover-locking requests.
      -->
      <productname>Pgpool-II</productname>が "Row description" メッセージを受信した際に、クエリ処理中のフラグをリセットするように修正しました。"no data" メッセージと同じ扱いにする必要がありました。
     </para>
     <para>
-     詳細は<ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-June/005613.html">[pgpo       ol-general: 5555]</ulink>を参照してください。
+     詳細は<ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-June/005613.html">[pgpool-general: 5555]</ulink>を参照してください。
     </para>
    </listitem>
 
     2017-04-06 [7859f06]
     -->
     <para>
-     リグレッションの失敗を防ぐために、サポートされていないJavaメソッドを新しいJDBCドライバでコメントアウトしました。(Tatsu Ishii)
+     リグレッションの失敗を防ぐために、サポートされていないJavaメソッドを新しいJDBCドライバでコメントアウトしました。(Tatsuo Ishii)
     </para>
    </listitem>
 
index 19d7054a921f06b1a1cf5d042fde50fb515b6250..f0c9e9560910c3296bc05653ee376a06ead0bef7 100644 (file)
@@ -20,7 +20,7 @@
     </para>
     <para>
      サーバサイドのSSLネゴシエーションの実装において、任意のSQLコマンドを実行できる中間者攻撃が可能でした。
-     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hotssl + trust認証の場合に可能でした。
+     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hostssl + trust認証の場合に可能でした。
      PostgreSQLのCVE-2021-23214と似た脆弱性です。
     </para>
     <para>
     -->
     <para>
      <!--
-     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failire. (Bo Peng)
+     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failure. (Bo Peng)
      -->
      起動時のbind()エラーを回避するために、ソケットファイルが存在するかどうかを確認し、
      PIDファイルが存在しない場合、それらのソケットファイルを削除するように修正しました。(Bo Peng)
     -->
     <para>
      <!--
-     Doc: mention that VIP will not be brougt up if quorum does not exist. (Tatsuo Ishii)
+     Doc: mention that VIP will not be brought up if quorum does not exist. (Tatsuo Ishii)
      -->
         Doc: クォーラムが存在しない場合、VIPは起動されないことをドキュメントに追加しました。(Tatsuo Ishii)
     </para>
     -->
     <para>
      <!--
-     Fix sefault when query cache is enabled. (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
+     Fix segfault when query cache is enabled. (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
      -->
      クエリキャッシュが有効な場合に発生するセグメンテーション違反を修正しました。(<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
     </para>
     </para>
     <para>
      <!--
-     When all backend nodes are down, <productname>Pgpool-II</> throws an uncorrect
+     When all backend nodes are down, <productname>Pgpool-II</> throws an incorrect
      error message "ERROR: connection cache is full". Change the error
      message to "all backend nodes are down, pgpool requires at least one valid node".
      -->
     <para>
      <!--
      In a explicit transaction, the <literal>SELECT</literal> results are cached in temporary buffer.
-     If a write <acronym>SQL</acronym> is sent which modifies the table, the temporary buffe should be reset.
+     If a write <acronym>SQL</acronym> is sent which modifies the table, the temporary buffer should be reset.
      -->
      明示的なトランザクションでは、<literal>SELECT</literal>の結果は一時バッファにキャッシュされます。
      テーブルを変更する書込み<acronym>SQL</acronym>が送信されると、一時的なバッファをリセットしなければなりません。
     </para>
     <para>
      <!--
-     Removeing "Type=forking" and add OPTS=" -n" to
+     Removing "Type=forking" and add OPTS=" -n" to
      run Pgpool-II with non-daemon mode, because we need to redirect logs.
      Using "journalctl" command to see Pgpool-II systemd log.
      -->
      <!--
      But the problem with this technique is that, for the instance when the node has
      announced itself as a master/coordinator of the cluster and is waiting for
-     the standby nodes to recognise it as a Master node. For that period of time
+     the standby nodes to recognize it as a Master node. For that period of time
      the watchdog state of the node is Master/coordinator, but it is yet not fully
      capable of handling the failover and failover-locking requests.
      -->
     2017-04-14 [50fb9a4]
     -->
     <para>
-     pool_config_vatiable.cから「定義されたが未使用の関数」という警告を削除しました。(Muhammad Usama)
+     pool_config_variable.cから「定義されたが未使用の関数」という警告を削除しました。(Muhammad Usama)
     </para>
    </listitem>
 
     2017-04-06 [d87f93d]
     -->
     <para>
-     リグレッションの失敗を防ぐために、サポートされていないJavaメソッドを新しいJDBCドライバでコメントアウトしました。(Tatsu Ishii)
+     リグレッションの失敗を防ぐために、サポートされていないJavaメソッドを新しいJDBCドライバでコメントアウトしました。(Tatsuo Ishii)
     </para>
    </listitem>
 
     -->
     <para>
      <!--
-     Sync inconsitent status
+     Sync inconsistent status
      of <productname>PostgreSQL</productname> nodes
      in <productname>Pgpool-II</productname> instances after
      restart. (Muhammad Usama)
     </para>
     <para>
      <!--
-     This commit tries to remove the data inconsitency in
+     This commit tries to remove the data inconsistency in
      replication mode found
      in <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2015-August/003974.html">[pgpool-general:
      3918]</ulink> by not recording the status file when all
    </listitem>
    <listitem>
     <!--
-    2016-08-01 [024eaea]  Fix for 215: pgpool doesnt escalate ip in case of another node inavailability
+    2016-08-01 [024eaea]  Fix for 215: pgpool doesn't escalate ip in case of another node unavailability
     -->
     <para>
      <!--
-     Fix <productname>Pgpool-II</productname> doesn't escalate ip in case of another node inavailability. (bug 215) (Muhammad Usama)
+     Fix <productname>Pgpool-II</productname> doesn't escalate ip in case of another node unavailability. (bug 215) (Muhammad Usama)
      -->
      他のノードが利用できない場合、<productname>Pgpool-II</productname> が
      IPアドレスをエスカレートしない不具合を修正しました。(bug 215) (Muhammad Usama)
    </listitem>
    <listitem>
     <!--
-    2016-06-08 [294cf4a]  Fix a posible hang during health checking
+    2016-06-08 [294cf4a]  Fix a possible hang during health checking
     -->
     <para>
      <!--
-     Fix a posible hang during health checking. (bug 204) (Yugo Nagata)
+     Fix a possible hang during health checking. (bug 204) (Yugo Nagata)
      -->
      ヘルスチェックで発生し得るハングアップを修正しました。(bug 204) (Yugo Nagata)
     </para>
     <para>
      <!--
-     Helath checking was hang when any data wasn't sent
+     Health checking was hang when any data wasn't sent
      from backend after <function>connect(2)</function> succeeded. To fix this,
      <function>pool_check_fd()</function> returns 1 when <function>select(2)</function> exits with
-     EINTR due to SIGALRM while health checkking is performed.
+     EINTR due to SIGALRM while health checking is performed.
      -->
      <function>connect(2)</function> が成功し、
      その後バックエンドからデータが送信されない場合、ヘルスチェックがハングしていました。
    </listitem>
    <listitem>
     <!--
-    2016-05-11 [de905f6]  Fix documetation bug about raw mode
+    2016-05-11 [de905f6]  Fix documentation bug about raw mode
     -->
     <para>
      <!--
-     Fix  Japanese and Chinese documetation bug about raw mode. (Yugo Nagata, Bo Peng)
+     Fix  Japanese and Chinese documentation bug about raw mode. (Yugo Nagata, Bo Peng)
      -->
      日本語と中国語ドキュメントのraw モードに関する内容の誤りを修正しました。(Yugo Nagata, Bo Peng)
     </para>
     <para>
      <!--
-     Connection pool is avalilable in raw mode.
+     Connection pool is available in raw mode.
      -->
      raw モードでも、コネクションプーリングが有効です。
     </para>
     </para>
     <para>
      <!--
-     This could happend if we execute an extended protocol query and it fails.
+     This could happened if we execute an extended protocol query and it fails.
      -->
      これは拡張プロトコル問い合わせを実行しそれが失敗したときに発生し得ました。
     </para>
index 30c500f4d430dd09be8cbc887ac38cfebbdab33b..47cc2e0a69df6b6b05353b042d6c07299a47b4aa 100644 (file)
     </para>
     <para>
      サーバサイドのSSLネゴシエーションの実装において、任意のSQLコマンドを実行できる中間者攻撃が可能でした。
-     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hotssl + trust認証の場合に可能でした。
+     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hostssl + trust認証の場合に可能でした。
      PostgreSQLのCVE-2021-23214と似た脆弱性です。
     </para>
     <para>
     -->
     <para>
      <!--
-     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failire. (Bo Peng)
+     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failure. (Bo Peng)
      -->
      起動時のbind()エラーを回避するために、ソケットファイルが存在するかどうかを確認し、
      PIDファイルが存在しない場合、それらのソケットファイルを削除するように修正しました。(Bo Peng)
     -->
     <para>
      <!--
-     Doc: mention that VIP will not be brougt up if quorum does not exist. (Tatsuo Ishii)
+     Doc: mention that VIP will not be brought up if quorum does not exist. (Tatsuo Ishii)
      -->
         Doc: クォーラムが存在しない場合、VIPは起動されないことをドキュメントに追加しました。(Tatsuo Ishii)
     </para>
     -->
     <para>
      <!--
-     Fix sefault when query cache is enabled. (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
+     Fix segfault when query cache is enabled. (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
      -->
      クエリキャッシュが有効な場合に発生するセグメンテーション違反を修正しました。(<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
     </para>
     </para>
     <para>
      <!--
-     When all backend nodes are down, <productname>Pgpool-II</> throws an uncorrect
+     When all backend nodes are down, <productname>Pgpool-II</> throws an incorrect
      error message "ERROR: connection cache is full". Change the error
      message to "all backend nodes are down, pgpool requires at least one valid node".
      -->
     <para>
      <!--
      In a explicit transaction, the <literal>SELECT</literal> results are cached in temporary buffer.
-     If a write <acronym>SQL</acronym> is sent which modifies the table, the temporary buffe should be reset.
+     If a write <acronym>SQL</acronym> is sent which modifies the table, the temporary buffer should be reset.
      -->
      明示的なトランザクションでは、<literal>SELECT</literal>の結果は一時バッファにキャッシュされます。
      テーブルを変更する書込み<acronym>SQL</acronym>が送信されると、一時的なバッファをリセットしなければなりません。
     </para>
     <para>
      <!--
-     Removeing "Type=forking" and add OPTS=" -n" to
+     Removing "Type=forking" and add OPTS=" -n" to
      run Pgpool-II with non-daemon mode, because we need to redirect logs.
      Using "journalctl" command to see Pgpool-II systemd log.
      -->
      Supporting per node health check parameters. (Tatsuo Ishii,
      Muhammad Usama)
      -->
-     <productname>PostgreSQL</productname>ノードごとにヘルスチェックパラメータを設定できるようになりました。(Tatsuo Ishi, Muhammad Usama)
+     <productname>PostgreSQL</productname>ノードごとにヘルスチェックパラメータを設定できるようになりました。(Tatsuo Ishii, Muhammad Usama)
     </para>
     <para>
      <!--
index 2cfab983f0a64c8903c79866c9b4880564f9ea7f..99785620b6928017e51b105e75e3268d1da3fea2 100644 (file)
     </para>
     <para>
      サーバサイドのSSLネゴシエーションの実装において、任意のSQLコマンドを実行できる中間者攻撃が可能でした。
-     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hotssl + trust認証の場合に可能でした。
+     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hostssl + trust認証の場合に可能でした。
      PostgreSQLのCVE-2021-23214と似た脆弱性です。
     </para>
     <para>
     -->
     <para>
      <!--
-     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failire. (Bo Peng)
+     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failure. (Bo Peng)
      -->
      起動時のbind()エラーを回避するために、ソケットファイルが存在するかどうかを確認し、
      PIDファイルが存在しない場合、それらのソケットファイルを削除するように修正しました。(Bo Peng)
     -->
     <para>
      <!--
-     Doc: Change the sample follow_master_command script %M %H paramater's order. (Bo Peng)
+     Doc: Change the sample follow_master_command script %M %H parameter's order. (Bo Peng)
      -->
      Doc: follow_master_command サンプルスクリプトの %M と %H パラメータの順序を変更しました。(Bo Peng)
     </para>
     -->
     <para>
      <!--
-     Doc: mention that VIP will not be brougt up if quorum does not exist. (Tatsuo Ishii)
+     Doc: mention that VIP will not be brought up if quorum does not exist. (Tatsuo Ishii)
      -->
         Doc: クォーラムが存在しない場合、VIPは起動されないことをドキュメントに追加しました。(Tatsuo Ishii)
     </para>
     -->
     <para>
      <!--
-     Fix sefault when query cache is enabled. (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
+     Fix segfault when query cache is enabled. (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
      -->
      クエリキャッシュが有効な場合に発生するセグメンテーション違反を修正しました。(<ulink url="https://www.pgpool.net/mantisbt/view.php?id=525">bug 525</ulink>) (Tatsuo Ishii)
     </para>
     </para>
     <para>
      <!--
-     When all backend nodes are down, <productname>Pgpool-II</> throws an uncorrect
+     When all backend nodes are down, <productname>Pgpool-II</> throws an incorrect
      error message "ERROR: connection cache is full". Change the error
      message to "all backend nodes are down, pgpool requires at least one valid node".
      -->
   <title>概要</title>
   <para>
    <!--
-   This version addes support for SCRAM and CERT authentication,
+   This version adds support for SCRAM and CERT authentication,
    improves load balancing control and import PostgreSQL 11
    new SQL parser.
    -->
      <!--
      Specify a semicolon separated list of SQL patterns that
      should be sent to primary node only. Regular expression can be
-     used in SQL patterns. Only Maste Slave mode is supported.
+     used in SQL patterns. Only Master Slave mode is supported.
      -->
      プライマリノードだけに送るSQLのパターンをセミコロンで区切られたリストで指定できます。
      SQLのパターンには正規表現を使用することができます。
      <!--
      Downgrade most of DEBUG1 messages to DEBUG5. (Tatsuo Ishii)
      -->
-     大半のDBUG1のメッセージをDEBUG5に変更しました。(Tatsuo Ishii)
+     大半のDEBUG1のメッセージをDEBUG5に変更しました。(Tatsuo Ishii)
     </para>
     <para>
      <!--
      <!--
      pgpool_setup -n 3 (or greater) triggers the bug. While recovering node
      2, pgpool main process tried to retrieve version info from backend #2
-     even if it's not running. This causes the sefault because connection
+     even if it's not running. This causes the segfault because connection
      was not established yet. The reason why <productname>PostgreSQL 9.6</productname>
      or later was not suffered from the bug was, <productname>PostgreSQL</productname>
      exited the loop as soon as the server version is higher than 9.5. To fix this,
index 0cad47aaffbdc663543b678db79e0bde10ae9209..0b842e809e0486adc3782f0bc31c4e559b6a785d 100644 (file)
      このポータルは<productname>Pgpool-II</productname>によって管理されないため、<command>Describe foo</command>メッセージは「unable to execute Describe. unable to get the bind message」エラーで失敗していました。
     </para>
     <para>
-     これを修正するため、<function>Describe()</function>でダミーの書き込みクエリコンテキストを作成し、<command>Desribe</command>メッセージをプライマリ(ストリーミングレプリケーションモード)またはすべてのノード(レプリケーション/スナップショットアイソレーションモード)に送信するようにしました。
+     これを修正するため、<function>Describe()</function>でダミーの書き込みクエリコンテキストを作成し、<command>Describe</command>メッセージをプライマリ(ストリーミングレプリケーションモード)またはすべてのノード(レプリケーション/スナップショットアイソレーションモード)に送信するようにしました。
     </para>
     <para>
      新たなテストケース080も追加しました。
         <!--
         Fix process memory requirement. Previously the formula was based on
         RSS. However PSS should be used because RSS includes shared memory
-        such as the memory used for libraries. This resuls in lot smaller
+        such as the memory used for libraries. This results in lot smaller
         memory requirement than before.
         -->
         必要プロセスメモリを修正しました。以前の式はRSSを基にしていましたが、RSSはライブラリに使用されるメモリなどの共有メモリも含むため、PSSを使用するべきです。
     </para>
     <para>
      サーバサイドのSSLネゴシエーションの実装において、任意のSQLコマンドを実行できる中間者攻撃が可能でした。
-     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hotssl + trust認証の場合に可能でした。
+     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hostssl + trust認証の場合に可能でした。
      PostgreSQLのCVE-2021-23214と似た脆弱性です。
     </para>
     <para>
     -->
     <para>
      <!--
-     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failire. (Bo Peng)
+     Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failure. (Bo Peng)
      -->
      起動時のbind()エラーを回避するために、ソケットファイルが存在するかどうかを確認し、
      PIDファイルが存在しない場合、それらのソケットファイルを削除するように修正しました。(Bo Peng)
     -->
     <para>
      <!--
-     Doc: Change the sample follow_master_command script %M %H paramater's order. (Bo Peng)
+     Doc: Change the sample follow_master_command script %M %H parameter's order. (Bo Peng)
      -->
      Doc: follow_master_command サンプルスクリプトの%Mと%Hパラメータの順序を変更しました。(Bo Peng)
     </para>
     2019-08-29 [69419ac4]
     -->
     <para>
-     多数決ルールを設定する<xref linkend="guc-enable-consensus-with-half-votes">パラメータを追加しました。 (Muhammd Usama, Tatsuo Ishii)
+     多数決ルールを設定する<xref linkend="guc-enable-consensus-with-half-votes">パラメータを追加しました。 (Muhammad Usama, Tatsuo Ishii)
     </para>
     <para>
      これは、偶数(すなわち、2, 4, 6...) watchdogクラスタにおけるクォーラムの存在および多数決の決定における振る舞いを変更します。
     </para>
     <para>
 <!--
-     If installing from RPMs, <literal>postrges</literal> user will be allowed to
+     If installing from RPMs, <literal>postgres</literal> user will be allowed to
      run <varname>if_up/down_cmd</varname> and <varname>arping_cmd</varname>
      with sudo without a password.
      If <varname>if_up/down_cmd</varname> or <varname>arping_cmd</varname> starts with "/",
     <para>
 <!--
      Performance enhancements for the large INSERT and UPDATE
-     statements. (Muhammd Usama)
+     statements. (Muhammad Usama)
 -->
-     大規模なINSERTとUPDATE文のパフォーマンスの強化。(Muhammd Usama)
+     大規模なINSERTとUPDATE文のパフォーマンスの強化。(Muhammad Usama)
     </para>
     <para>
 <!--
     </para>
     <para>
 <!--
-     Major chanegs of PostgreSQL 12 parser include:
+     Major changes of PostgreSQL 12 parser include:
 -->
      PostgreSQL12のパーサの主な改善点は以下のとおりです。
 
      we set <xref linkend="guc-disable-load-balance-on-write"> =
       <literal>transaction</literal>, when a write query is issued
       inside an explicit truncation, subsequent queries should be
-      sent to primary only until the end of this transactionin in
+      sent to primary only until the end of this transaction in
       order to avoid the replication delay.  However, the SELECTs
       having write functions specified
       in <xref linkend="guc-write-function-list"> or not specified
     <para>
 <!--
      Resign the master watchdog node from master responsibilities if
-     the primary backend node gets into quarantine state on that. (Muhammd Usama)
+     the primary backend node gets into quarantine state on that. (Muhammad Usama)
 -->
-     プライマリバックエンドノードがqurantine状態になるのであれば、マスタwatchdogノードを辞退します。(Muhammd Usama)
+     プライマリバックエンドノードがquarantine状態になるのであれば、マスタwatchdogノードを辞退します。(Muhammad Usama)
     </para>
     <para>
 <!--
     2019-08-29 [69419ac4]
     -->
     <para>
-     多数決ルールの計算方法を設定する<xref linkend="guc-enable-consensus-with-half-votes">パラメータを追加しました。(Muhammd Usama, Tatsuo Ishii)
+     多数決ルールの計算方法を設定する<xref linkend="guc-enable-consensus-with-half-votes">パラメータを追加しました。(Muhammad Usama, Tatsuo Ishii)
     </para>
     <para>
      <productname>Pgpool-II</productname>はwatchdogクラスタが偶数のノードで構成されている場合、ちょうど50%の賛成を得られたときにクォーラムの存在とフェイルオーバの合意を決定します。
        <para>
 <!--
        Mention that schema qualifications cannot be used in
-       Add performance chapterwhite/black_function_list. (tatsuo
+       Add performance chapter white/black_function_list. (tatsuo
        Ishii)
 -->
         white/black_function_listでスキーマ修飾が使用出来ないことを記述しました。(tatsuo Ishii)
        Add description to pg_md5 man page how to show
        pool_passwd ready string. (tatsuo ishii)
 -->
-        pg_md5のマニュアルページにpool_paswd文字列の表現の仕方の説明を追加しました。(tatsuo ishii)
+        pg_md5のマニュアルページにpool_passwd文字列の表現の仕方の説明を追加しました。(tatsuo ishii)
        </para>
       </listitem>
 
index eb50fb2119d060799aaf9f277683de4b47a6c321..7cc31a3d13f618bf4f9038efb17e63aa3a542740 100644 (file)
      このポータルは<productname>Pgpool-II</productname>によって管理されないため、<command>Describe foo</command>メッセージは「unable to execute Describe. unable to get the bind message」エラーで失敗していました。
     </para>
     <para>
-     これを修正するため、<function>Describe()</function>でダミーの書き込みクエリコンテキストを作成し、<command>Desribe</command>メッセージをプライマリ(ストリーミングレプリケーションモード)またはすべてのノード(レプリケーション/スナップショットアイソレーションモード)に送信するようにしました。
+     これを修正するため、<function>Describe()</function>でダミーの書き込みクエリコンテキストを作成し、<command>Describe</command>メッセージをプライマリ(ストリーミングレプリケーションモード)またはすべてのノード(レプリケーション/スナップショットアイソレーションモード)に送信するようにしました。
     </para>
     <para>
      新たなテストケース080も追加しました。
         <!--
         Fix process memory requirement. Previously the formula was based on
         RSS. However PSS should be used because RSS includes shared memory
-        such as the memory used for libraries. This resuls in lot smaller
+        such as the memory used for libraries. This results in lot smaller
         memory requirement than before.
         -->
         必要プロセスメモリを修正しました。以前の式はRSSを基にしていましたが、RSSはライブラリに使用されるメモリなどの共有メモリも含むため、PSSを使用するべきです。
     </para>
     <para>
      サーバサイドのSSLネゴシエーションの実装において、任意のSQLコマンドを実行できる中間者攻撃が可能でした。
-     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hotssl + trust認証の場合に可能でした。
+     これはPgpool-IIがクライアント認証で証明書認証を使用しているか、hostssl + trust認証の場合に可能でした。
      PostgreSQLのCVE-2021-23214と似た脆弱性です。
     </para>
     <para>
@@ -4621,7 +4621,7 @@ Author: Bo Peng <pengbo@sraoss.co.jp>
 <!--
      Use <command>pg_config</command> to get
      <productname>PostgreSQL</productname> lib path and add this path
-     to LD_LIBRARY_PATH environment paramater in regress.sh. (Bo Peng)
+     to LD_LIBRARY_PATH environment parameter in regress.sh. (Bo Peng)
 -->
      <productname>PostgreSQL</productname>のlib pathを<command>pg_config</command>を使って取得し、regress.shのLD_LIBRARY_PATH環境変数に追加するようにしました。(Bo Peng)
     </para>
index a88cc23c3d39e66bba6eaf3d4ce0a5702f0b3d5f..aa208236d1c434fcb8deb40432a99c06b32d9a79 100644 (file)
      このポータルは<productname>Pgpool-II</productname>によって管理されないため、<command>Describe foo</command>メッセージは「unable to execute Describe. unable to get the bind message」エラーで失敗していました。
     </para>
     <para>
-     これを修正するため、<function>Describe()</function>でダミーの書き込みクエリコンテキストを作成し、<command>Desribe</command>メッセージをプライマリ(ストリーミングレプリケーションモード)またはすべてのノード(レプリケーション/スナップショットアイソレーションモード)に送信するようにしました。
+     これを修正するため、<function>Describe()</function>でダミーの書き込みクエリコンテキストを作成し、<command>Describe</command>メッセージをプライマリ(ストリーミングレプリケーションモード)またはすべてのノード(レプリケーション/スナップショットアイソレーションモード)に送信するようにしました。
     </para>
     <para>
      新たなテストケース080も追加しました。
         <!--
         Fix process memory requirement. Previously the formula was based on
         RSS. However PSS should be used because RSS includes shared memory
-        such as the memory used for libraries. This resuls in lot smaller
+        such as the memory used for libraries. This results in lot smaller
         memory requirement than before.
         -->
         必要プロセスメモリを修正しました。以前の式はRSSを基にしていましたが、RSSはライブラリに使用されるメモリなどの共有メモリも含むため、PSSを使用するべきです。
index 18915791e18b6988c71a162b02f625365521631b..5bdacc3a9a9ea621396ae578432d7a83e961bd9b 100644 (file)
      このポータルは<productname>Pgpool-II</productname>によって管理されないため、<command>Describe foo</command>メッセージは「unable to execute Describe. unable to get the bind message」エラーで失敗していました。
     </para>
     <para>
-     これを修正するため、<function>Describe()</function>でダミーの書き込みクエリコンテキストを作成し、<command>Desribe</command>メッセージをプライマリ(ストリーミングレプリケーションモード)またはすべてのノード(レプリケーション/スナップショットアイソレーションモード)に送信するようにしました。
+     これを修正するため、<function>Describe()</function>でダミーの書き込みクエリコンテキストを作成し、<command>Describe</command>メッセージをプライマリ(ストリーミングレプリケーションモード)またはすべてのノード(レプリケーション/スナップショットアイソレーションモード)に送信するようにしました。
     </para>
     <para>
      新たなテストケース080も追加しました。
index 1e4b7e051de7aed49fd93c618e6e3b386a10861c..0f40994e15361c52b7fb9c502953e296a168c9f2 100644 (file)
    </para>
 
    <para>
-    <firstterm>ストリーミングレプリケーションモード</firstterm>はストリーミングレプリケーションを使用する<productname>PostgreSQL</>サーバ(AWSのAuroa、RDSを含みます)と一緒に使うことができます。
+    <firstterm>ストリーミングレプリケーションモード</firstterm>はストリーミングレプリケーションを使用する<productname>PostgreSQL</>サーバ(AWSのAurora、RDSを含みます)と一緒に使うことができます。
     このモードでは、<productname>PostgreSQL</>がデータベースを同期する責任を持ちます。
     このモードは広く使われており、最も推奨される<productname>Pgpool-II</>の使用法です。
     このモードでは負荷分散が可能です。
@@ -340,7 +340,7 @@ default_transaction_isolation = 'repeatable read'
     responsible for synchronizing tables. Load balancing is possible
     in the mode. Since logical replication does not replicate all
     tables, it's user's responsibility to replicate the table which
-    could be load balanced. <productname>Pgpool-II</> load balaces
+    could be load balanced. <productname>Pgpool-II</> load balances
     all tables. This means that if a table is not
     replicated, <productname>Pgpool-II</> may lookup outdated tables
     in the subscriber side.
@@ -377,7 +377,7 @@ default_transaction_isolation = 'repeatable read'
     <!--
     In the raw mode, <productname>Pgpool-II</> does not care about the database
     synchronization. It's user's responsibility to make the whole
-    system does a meaningfull thing. Load balancing
+    system does a meaningful thing. Load balancing
     is <emphasis>not</emphasis> possible in the mode.
     -->
     <firstterm>rawモード</firstterm>では、<productname>Pgpool-II</>はデータベースの同期に関しては関与しません。
@@ -444,7 +444,7 @@ default_transaction_isolation = 'repeatable read'
    backend servers, you need to configure <varname>backend*</varname>
    in <filename>pgpool.conf</filename>.  For starters, at
    least <xref linkend="guc-backend-hostname">
-   and <xref linkend="guc-backend-port"> paramters are required to
+   and <xref linkend="guc-backend-port"> parameters are required to
    be set up to start <productname>Pgpool-II</> server.
    -->
    <productname>Pgpool-II</>が<productname>PostgreSQL</>バックエンドサーバを認識するために、<filename>pgpool.conf</filename>の<varname>backend*</varname>を設定する必要があります。
index f18b90e8102997a9450027d0cb551a44d71c1a2c..497616e50c46d567dc8fb8e3edf5f5583b7e6e39 100644 (file)
@@ -140,7 +140,7 @@ if_down_cmd = '&lt;path to script&gt; down $_IP_$ &lt;path to awscli&gt;'
    <itemizedlist>
     <listitem>
      <para>
-      &lt;path to script&gt;: Specify the path to the script used to assgin or remove Elastic IP address.
+      &lt;path to script&gt;: Specify the path to the script used to assign or remove Elastic IP address.
      </para>
     </listitem>
 
@@ -250,7 +250,7 @@ arping_cmd = 'true'
     <listitem>
      <para>
       create two route tables associated with the public subnet and the private subnet
-      respectively. Please refer to this <ulink url="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Scenario2.html#VPC_Scenario2_Routing">documetation</ulink>
+      respectively. Please refer to this <ulink url="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Scenario2.html#VPC_Scenario2_Routing">documentation</ulink>
       for detailed information.
      </para>
     </listitem>
@@ -322,7 +322,7 @@ arping_cmd = 'true'
     Mostly the <productname>Pgpool-II</productname> configurations for this
     example will be same as in the <xref linkend="example-cluster">, except
     using <xref linkend="guc-if-up-cmd"> and <xref linkend="guc-if-down-cmd">
-    to assign the virtaul IP and update route tables.
+    to assign the virtual IP and update route tables.
    </para>
    <para>
     Specify the virtual IP to <xref linkend="guc-delegate-ip">.
@@ -447,7 +447,7 @@ $ aws ec2 modify-network-interface-attribute --network-interface-id ${EC2_NETWOR
     from the application instance.
    </para>
    <programlisting>
-[user@appliaction instance]$ psql -h 20.0.0.50 -p 9999 -U postgres -c "show pool_nodes"
+[user@application instance]$ psql -h 20.0.0.50 -p 9999 -U postgres -c "show pool_nodes"
    </programlisting>
    <para>
     Stop the leader <productname>Pgpool-II</productname>.
index 1700b118a0d818a0c89839484bcf5a3084f1194a..946cfdcdab11c73ae6eaf0e3dae7fba03a617e77 100644 (file)
@@ -1283,7 +1283,7 @@ Password for user pgpool
 Password:
 3 3 YES server1:9999 Linux server1 server1
 
-server1:9999 Linux server1 server1 9999 9000 4 LEADER 0 MEMBER  # The Pgpool-II server started first becames "LEADER".
+server1:9999 Linux server1 server1 9999 9000 4 LEADER 0 MEMBER  # The Pgpool-II server started first becomes "LEADER".
 server2:9999 Linux server2 server2 9999 9000 7 STANDBY 0 MEMBER # running as STANDBY
 server3:9999 Linux server3 server3 9999 9000 7 STANDBY 0 MEMBER # running as STANDBY
    </programlisting>
index a79d6eee7de7c9cbf09bf051a2220b92bd1f4174..df61d551b431af17139fbbc008adcb630e541d9c 100644 (file)
@@ -114,7 +114,7 @@ test kawamoto 2021-09-28 04:16:00 0 3 0 2021-09-28 04:16:03 2021-09-28 04:16:03
     14. pgpool child process id
     15. PostgreSQL backend id
     16. process status
-    17. 1 if backend is load balance node and frontend connected, 0 othewise
+    17. 1 if backend is load balance node and frontend connected, 0 otherwise
    </literallayout>
   </para>
   <para>
index 8b558f9ac5e8733d543dbf511973b958832df85d..4f489c9b8c37cd21c0abd15bb8e4188274c0c368 100644 (file)
      <row>
       <entry><literal>free_cache_entries_size</literal></entry>
       <entry>
-       The size in bytes of the unsed cache.  As this value approaches
+       The size in bytes of the unused cache.  As this value approaches
        0, it removes the registered cache and registers a new cache,
        which does not cause an error, but reduces performance.
        Consider to increase <xref linkend="guc-memqcache-total-size">.
index 9ff8635d8fa229ff933e40544419a9d42235a4d6..1869c277427d846e34f0b4d93d278a69b514838a 100644 (file)
@@ -98,7 +98,7 @@
      Fix the incorrect display of load balancing node in raw mode. (Bo Peng)
     </para>
     <para>
-     In raw mode, <productname>Pgpool-II</productname> sends all queies to main node.
+     In raw mode, <productname>Pgpool-II</productname> sends all queries to main node.
      This is harmless, but it may confuse users.
     </para>
    </listitem>
     <programlisting>
      - pgpool.conf is configured so that all read queries are sent to the standby.
      - First, issue a writing query in a transaction block
-     - After commiting the transaction, issue a select query.
+     - After committing the transaction, issue a select query.
      - When processing the query, send Describe (statement) message just after Parse.
     </programlisting>
 
    </listitem>
    <listitem>
     <!--
-    2016-08-01 [024eaea]  Fix for 215: pgpool doesnt escalate ip in case of another node unavailability
+    2016-08-01 [024eaea]  Fix for 215: pgpool doesn't escalate ip in case of another node unavailability
     -->
     <para>
      Fix <productname>Pgpool-II</productname> doesn't escalate ip in case of another node unavailability. (bug 215) (Muhammad Usama)
index 6ea299decedcf447298a5ceaebd1e22665a291a2..fa26fec97efbebd88f774189884c1864abf4c537 100644 (file)
      Fix the incorrect display of load balancing node in raw mode. (Bo Peng)
     </para>
     <para>
-     In raw mode, <productname>Pgpool-II</productname> sends all queies to main node.
+     In raw mode, <productname>Pgpool-II</productname> sends all queries to main node.
      This is harmless, but it may confuse users.
     </para>
    </listitem>
index a0d5e7a11bde25e7c28229c42c7f3c882a2565b1..4160ab654f4b240676257703cb81a81fce03ba1c 100644 (file)
     2023-01-31 [633bdca]
     -->
     <para>
-     Fix kind mimatch error with <literal>DEALLOCATE</literal>.
+     Fix kind mismatch error with <literal>DEALLOCATE</literal>.
      (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=780">bug 780</ulink>) (Tatsuo Ishii)
     </para>
     <para>
-     Kind mimatch error occurs when conditions below are all met:
+     Kind mismatch error occurs when conditions below are all met:
      <itemizedlist>
       <listitem>
        <para>
     <para>
      To deal with idle_session_timeout detect_idle_session_timeout_error()
      is added to detect the error code for idle_session_timeout. If the
-     error is detected, Pgpool-II returns the error code to frondend as a
+     error is detected, Pgpool-II returns the error code to frontend as a
      fatal error and disconnects the session.  This is a similar fix
      implemented for idle_in_transaction_session_timeout.
      <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f5986eee360f12e6a0bb77aa46f95abf5f6bc10">3f5986eee360f12e6a0bb77aa46f95abf5f6bc10</ulink>
     2022-04-17 [72d31b0]
     -->
     <para>
-     Enhance regression test 074.bug700_memqcache_segfault to avoid the timeut error. (Tatsuo Ishii)
+     Enhance regression test 074.bug700_memqcache_segfault to avoid the timeout error. (Tatsuo Ishii)
     </para>
    </listitem>
 
      Fix the incorrect display of load balancing node in raw mode. (Bo Peng)
     </para>
     <para>
-     In raw mode, <productname>Pgpool-II</productname> sends all queies to main node.
+     In raw mode, <productname>Pgpool-II</productname> sends all queries to main node.
      This is harmless, but it may confuse users.
     </para>
    </listitem>
     2021-10-06 [42a77d8c]
     -->
     <para>
-     Doc: fix documentaion typos. (Bo Peng)
+     Doc: fix documentation typos. (Bo Peng)
     </para>
    </listitem>
 
index c3b2457dfc84e0b5f7ea4f90dc6803595756e7fe..3c085ab0e189fba8ccf0092e7facc3615331ad33 100644 (file)
     2023-08-09 [30db44e]
     -->
     <para>
-     Fix covery warning. (Tatsuo Ishii)
+     Fix coverity warning. (Tatsuo Ishii)
     </para>
     <para>
      Fix query cache module assigned time_t value to int32 variable. Change
     2023-01-31 [633bdca]
     -->
     <para>
-     Fix kind mimatch error with <literal>DEALLOCATE</literal>.
+     Fix kind mismatch error with <literal>DEALLOCATE</literal>.
      (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=780">bug 780</ulink>) (Tatsuo Ishii)
     </para>
     <para>
-     Kind mimatch error occurs when conditions below are all met:
+     Kind mismatch error occurs when conditions below are all met:
      <itemizedlist>
       <listitem>
        <para>
     <para>
      To deal with idle_session_timeout detect_idle_session_timeout_error()
      is added to detect the error code for idle_session_timeout. If the
-     error is detected, Pgpool-II returns the error code to frondend as a
+     error is detected, Pgpool-II returns the error code to frontend as a
      fatal error and disconnects the session.  This is a similar fix
      implemented for idle_in_transaction_session_timeout.
      <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f5986eee360f12e6a0bb77aa46f95abf5f6bc10">3f5986eee360f12e6a0bb77aa46f95abf5f6bc10</ulink>
     2022-05-31 [5cacb7db]
     -->
     <para>
-     When CloseComplete is received, foward to frontend without buffering. (Tatsuo Ishii)
+     When CloseComplete is received, forward to frontend without buffering. (Tatsuo Ishii)
     </para>
     <para>
      It seems this caused occasional timeout error in 074.bug700_memqcache_segfault.
        <para>
         Fix process memory requirement. Previously the formula was based on
         RSS. However PSS should be used because RSS includes shared memory
-        such as the memory used for libraries. This resuls in lot smaller
+        such as the memory used for libraries. This results in lot smaller
         memory requirement than before.
        </para>
       </listitem>
     2022-04-17 [29734b5]
     -->
     <para>
-     Enhance regression test 018.detach_primary to avoid the timeut error. (Tatsuo Ishii)
+     Enhance regression test 018.detach_primary to avoid the timeout error. (Tatsuo Ishii)
     </para>
    </listitem>
 
     2022-04-17 [72d31b0]
     -->
     <para>
-     Enhance regression test 074.bug700_memqcache_segfault to avoid the timeut error. (Tatsuo Ishii)
+     Enhance regression test 074.bug700_memqcache_segfault to avoid the timeout error. (Tatsuo Ishii)
     </para>
    </listitem>
 
      Fix the incorrect display of load balancing node in raw mode. (Bo Peng)
     </para>
     <para>
-     In raw mode, <productname>Pgpool-II</productname> sends all queies to main node.
+     In raw mode, <productname>Pgpool-II</productname> sends all queries to main node.
      This is harmless, but it may confuse users.
     </para>
    </listitem>
      Fix race condition between <xref linkend="guc-detach-false-primary"> and <xref linkend="guc-follow-primary-command">. (Tatsuo Ishii)
     </para>
     <para>
-     If <xref linkend="guc-detach-false-primary"> and <xref linkend="guc-follow-primary-command"> are running concurrently, many problem occured.
+     If <xref linkend="guc-detach-false-primary"> and <xref linkend="guc-follow-primary-command"> are running concurrently, many problem occurred.
      Typical problem is, no primary node is found at the end.
     </para>
    </listitem>
      startup user is changed to <literal>postgres</literal> user.
     </para>
     <para>
-     If installing from RPMs, <literal>postrges</literal> user will be allowed to
+     If installing from RPMs, <literal>postgres</literal> user will be allowed to
      run <varname>if_up/down_cmd</varname> and <varname>arping_cmd</varname>
      with <command>sudo</command> without a password.
      If <varname>if_up/down_cmd</varname> or <varname>arping_cmd</varname> starts with "/",
index 265e2921313a603fdbdd950cb75106c761c609b1..b01391a4015aab6c0c587c1627bcbddd191a2523 100644 (file)
     2023-08-09 [30db44e]
     -->
     <para>
-     Fix covery warning. (Tatsuo Ishii)
+     Fix coverity warning. (Tatsuo Ishii)
     </para>
     <para>
      Fix query cache module assigned time_t value to int32 variable. Change
     2023-01-31 [633bdca]
     -->
     <para>
-     Fix kind mimatch error with <literal>DEALLOCATE</literal>.
+     Fix kind mismatch error with <literal>DEALLOCATE</literal>.
      (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=780">bug 780</ulink>) (Tatsuo Ishii)
     </para>
     <para>
-     Kind mimatch error occurs when conditions below are all met:
+     Kind mismatch error occurs when conditions below are all met:
      <itemizedlist>
       <listitem>
        <para>
     <para>
      To deal with idle_session_timeout detect_idle_session_timeout_error()
      is added to detect the error code for idle_session_timeout. If the
-     error is detected, Pgpool-II returns the error code to frondend as a
+     error is detected, Pgpool-II returns the error code to frontend as a
      fatal error and disconnects the session.  This is a similar fix
      implemented for idle_in_transaction_session_timeout.
      <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f5986eee360f12e6a0bb77aa46f95abf5f6bc10">3f5986eee360f12e6a0bb77aa46f95abf5f6bc10</ulink>
     2022-05-31 [a8b4904e]
     -->
     <para>
-     When CloseComplete is received, foward to frontend without buffering. (Tatsuo Ishii)
+     When CloseComplete is received, forward to frontend without buffering. (Tatsuo Ishii)
     </para>
     <para>
      It seems this caused occasional timeout error in 074.bug700_memqcache_segfault.
        <para>
         Fix process memory requirement. Previously the formula was based on
         RSS. However PSS should be used because RSS includes shared memory
-        such as the memory used for libraries. This resuls in lot smaller
+        such as the memory used for libraries. This results in lot smaller
         memory requirement than before.
        </para>
       </listitem>
     2022-04-17 [29734b5]
     -->
     <para>
-     Enhance regression test 018.detach_primary to avoid the timeut error. (Tatsuo Ishii)
+     Enhance regression test 018.detach_primary to avoid the timeout error. (Tatsuo Ishii)
     </para>
    </listitem>
 
     2022-04-17 [72d31b0]
     -->
     <para>
-     Enhance regression test 074.bug700_memqcache_segfault to avoid the timeut error. (Tatsuo Ishii)
+     Enhance regression test 074.bug700_memqcache_segfault to avoid the timeout error. (Tatsuo Ishii)
     </para>
    </listitem>
 
      Fix the incorrect display of load balancing node in raw mode. (Bo Peng)
     </para>
     <para>
-     In raw mode, <productname>Pgpool-II</productname> sends all queies to main node.
+     In raw mode, <productname>Pgpool-II</productname> sends all queries to main node.
      This is harmless, but it may confuse users.
     </para>
    </listitem>
      Fix race condition between <xref linkend="guc-detach-false-primary"> and <xref linkend="guc-follow-primary-command">. (Tatsuo Ishii)
     </para>
     <para>
-     If <xref linkend="guc-detach-false-primary"> and <xref linkend="guc-follow-primary-command"> are running concurrently, many problem occured.
+     If <xref linkend="guc-detach-false-primary"> and <xref linkend="guc-follow-primary-command"> are running concurrently, many problem occurred.
      Typical problem is, no primary node is found at the end.
     </para>
    </listitem>
index 4c89ca373bd2951579e74e68a9b2e34e48ca711c..70772fd22880a3f353f0e77e8f85c59d008b40f8 100644 (file)
     2023-08-09 [30db44e]
     -->
     <para>
-     Fix covery warning. (Tatsuo Ishii)
+     Fix coverity warning. (Tatsuo Ishii)
     </para>
     <para>
      Fix query cache module assigned time_t value to int32 variable. Change
     2023-01-31 [633bdca]
     -->
     <para>
-     Fix kind mimatch error with <literal>DEALLOCATE</literal>.
+     Fix kind mismatch error with <literal>DEALLOCATE</literal>.
      (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=780">bug 780</ulink>) (Tatsuo Ishii)
     </para>
     <para>
-     Kind mimatch error occurs when conditions below are all met:
+     Kind mismatch error occurs when conditions below are all met:
      <itemizedlist>
       <listitem>
        <para>
     <para>
      To deal with idle_session_timeout detect_idle_session_timeout_error()
      is added to detect the error code for idle_session_timeout. If the
-     error is detected, Pgpool-II returns the error code to frondend as a
+     error is detected, Pgpool-II returns the error code to frontend as a
      fatal error and disconnects the session.  This is a similar fix
      implemented for idle_in_transaction_session_timeout.
      <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f5986eee360f12e6a0bb77aa46f95abf5f6bc10">3f5986eee360f12e6a0bb77aa46f95abf5f6bc10</ulink>
     2022-05-31 [f08ef22b]
     -->
     <para>
-     When CloseComplete is received, foward to frontend without buffering. (Tatsuo Ishii)
+     When CloseComplete is received, forward to frontend without buffering. (Tatsuo Ishii)
     </para>
     <para>
      It seems this caused occasional timeout error in 074.bug700_memqcache_segfault.
        <para>
         Fix process memory requirement. Previously the formula was based on
         RSS. However PSS should be used because RSS includes shared memory
-        such as the memory used for libraries. This resuls in lot smaller
+        such as the memory used for libraries. This results in lot smaller
         memory requirement than before.
        </para>
       </listitem>
     2022-04-17 [29734b5]
     -->
     <para>
-     Enhance regression test 018.detach_primary to avoid the timeut error. (Tatsuo Ishii)
+     Enhance regression test 018.detach_primary to avoid the timeout error. (Tatsuo Ishii)
     </para>
    </listitem>
 
     2022-04-17 [72d31b0]
     -->
     <para>
-     Enhance regression test 074.bug700_memqcache_segfault to avoid the timeut error. (Tatsuo Ishii)
+     Enhance regression test 074.bug700_memqcache_segfault to avoid the timeout error. (Tatsuo Ishii)
     </para>
    </listitem>
 
index fad0679356216eab1aa50d2012223428a619cb97..0c8f4fafa8db660fb663ae6e4bbb3d6ba972b959 100644 (file)
     2023-08-09 [30db44e]
     -->
     <para>
-     Fix covery warning. (Tatsuo Ishii)
+     Fix coverity warning. (Tatsuo Ishii)
     </para>
     <para>
      Fix query cache module assigned time_t value to int32 variable. Change
     2023-01-31 [38225a7]
     -->
     <para>
-     Fix kind mimatch error with <literal>DEALLOCATE</literal>.
+     Fix kind mismatch error with <literal>DEALLOCATE</literal>.
      (<ulink url="https://www.pgpool.net/mantisbt/view.php?id=780">bug 780</ulink>) (Tatsuo Ishii)
     </para>
     <para>
-     Kind mimatch error occurs when conditions below are all met:
+     Kind mismatch error occurs when conditions below are all met:
      <itemizedlist>
       <listitem>
        <para>
     2023-01-30 [93f5585]
     -->
     <para>
-     Obtain stronger lock while commiting shared relcache. (Tatsuo Ishii)
+     Obtain stronger lock while committing shared relcache. (Tatsuo Ishii)
     </para>
    </listitem>
 
     <para>
      Configuration parameter <literal>delegate_IP</literal> is renamed
      to <xref linkend="guc-delegate-ip">.  For compatibility with the
-     old versions, the old paramter delegate_IP can still work.  If
-     the old paramter delegate_IP is
+     old versions, the old parameter delegate_IP can still work.  If
+     the old parameter delegate_IP is
      used, <productname>Pgpool-II</productname> will set the value to
      delegate_ip and throw a warning message.
     </para>
index 5d93e54b652d6178235560928b8d83470a7dd482..cb37fdea41fbadc1fb38d6288e6e400098d3a06c 100644 (file)
@@ -464,7 +464,7 @@ pool_reopen_passwd_file(void)
 
 /*
  * function first uses the password in the argument, if the argument is empty
- * string or NULL, it looks for the password for uset in pool_passwd file.
+ * string or NULL, it looks for the password for user in pool_passwd file.
  * The returned password is always in plain text or md5 hashed and palloc'd
  * (if not null)
  */
index a6110696527556e0c7fe62264391164bbbd9321d..e89820ba4172761bd387f23071df2c4721f30371 100644 (file)
@@ -37,7 +37,7 @@ defined above to src/include/pool_config.h.
                                                         * will not be load balanced until the session ends.
                                                         */
 
-Step3: Add config_emum_entry array to src/config/pool_config.c.
+Step3: Add config_enum_entry array to src/config/pool_config.c.
 ================================================================
 
 static const struct config_enum_entry disable_load_balance_on_write_options[] = {
index 6a32fa2c8cb274860d010f3eb306f49fdc32bde8..111efa579d4592e5679eb5a2980d506457d86911 100644 (file)
@@ -410,7 +410,7 @@ static struct config_bool ConfigureNamesBool[] =
        },
        {
                {"failover_require_consensus", CFGCXT_INIT, FAILOVER_CONFIG,
-                       "Only do failover when majority aggrees.",
+                       "Only do failover when majority agrees.",
                        CONFIG_VAR_TYPE_BOOL, false, 0
                },
                &g_pool_config.failover_require_consensus,
@@ -466,7 +466,7 @@ static struct config_bool ConfigureNamesBool[] =
 
        {
                {"log_pcp_processes", CFGCXT_RELOAD, LOGGING_CONFIG,
-                       "Logs PCP process forks and anormal exit status to the log",
+                       "Logs PCP process forks and a normal exit status to the log",
                        CONFIG_VAR_TYPE_BOOL, false, 0
                },
                &g_pool_config.log_pcp_processes,
@@ -1948,7 +1948,7 @@ static struct config_int ConfigureNamesInt[] =
 
        {
                {"num_init_children", CFGCXT_INIT, CONNECTION_POOL_CONFIG,
-                       "Maximim number of child processs to handle client connections.",
+                       "Maximim number of child process to handle client connections.",
                        CONFIG_VAR_TYPE_INT, false, 0
                },
                &g_pool_config.num_init_children,
index dd886534fd8fffbd4b7e5c80fe551d29a4a051a1..0fe2e4e0e0555cb9415a03428ca8a17ff29ee2c6 100644 (file)
@@ -148,7 +148,7 @@ typedef struct
         */
        bool            flush_pending;
 
-       bool            is_tx_started_by_multi_statement; /* true if an explicit transaction has been strated by
+       bool            is_tx_started_by_multi_statement; /* true if an explicit transaction has been started by
                                                                                                         multi statement query */
 }                      POOL_PENDING_MESSAGE;
 
index 56ddbeb145f521079895549f6c8d658ea7670ecf..21513f1d33a9ab3cc5b46d4f82cfc3ed9491fabd 100644 (file)
@@ -343,9 +343,9 @@ extern int  my_main_node_id;
 typedef enum
 {
        POOL_NODE_STATUS_UNUSED,        /* unused */
-       POOL_NODE_STATUS_PRIMARY,       /* primary ndoe */
+       POOL_NODE_STATUS_PRIMARY,       /* primary node */
        POOL_NODE_STATUS_STANDBY,       /* standby node */
-       POOL_NODE_STATUS_INVALID        /* invalid node (split branin, stand alone) */
+       POOL_NODE_STATUS_INVALID        /* invalid node (split brain, stand alone) */
 }                      POOL_NODE_STATUS;
 
 /* Clustering mode macros */
@@ -496,7 +496,7 @@ typedef enum
 }                      POOL_RECOVERY_MODE;
 
 /*
- * Process types.  DO NOT change the order of each enum meber!  If you do
+ * Process types.  DO NOT change the order of each enum member!  If you do
  * that, you must change application_name array in src/main/pgpool_main.c
  * accordingly.
  */
index 311b75faac12ac4f3b87eb142679e1a114fdf1df..a2a3f0414db9366df7894f4dd1f8bd2d79402b0f 100644 (file)
@@ -575,7 +575,7 @@ typedef struct
        bool            failover_when_quorum_exists;    /* Do failover only when wd
                                                                                                 * cluster holds the quorum */
        bool            failover_require_consensus; /* Only do failover when majority
-                                                                                        * aggrees */
+                                                                                        * agrees */
        bool            allow_multiple_failover_requests_from_node; /* One Pgpool-II node
                                                                                                                         * can send multiple
                                                                                                                         * failover requests to
index 9fc3e6a7abfebb1036065a80cfd3753df01d1adf..5206e2e53a2e311e6bcbddac3143a5446911c8c8 100644 (file)
@@ -39,7 +39,7 @@
  * block". Each block is assigned a "cache block id", which is
  * starting with 0.
  */
-typedef char *POOL_CACH_BLOCK; /* pointer to cache block */
+typedef char *POOL_CACHE_BLOCK;        /* pointer to cache block */
 typedef unsigned int POOL_CACHE_BLOCKID;       /* cache block id */
 typedef unsigned int POOL_CACHE_ITEMID; /* cache item id */
 
index 6a8430a70c0875d0ffe35c6ce8a5ebf1f8e07263..0a2b74a881b9266fb3892aca1997fa7ef1cac299 100644 (file)
@@ -1447,7 +1447,7 @@ _pcp_promote_node(PCPConnInfo * pcpConn, int nid, bool gracefully, bool switchov
 
        pcp_write(pcpConn->pcpConn, sendchar, 1);
 
-       /* caluculate send buffer size */
+       /* calculate send buffer size */
        wsize = sizeof(char);   /* protocol. 'j' or 'J' */
        wsize += strlen(node_id);       /* node id + space */
        wsize += sizeof(char);  /* promote option */
index fec0e6dbc142e12056d72c6e2e1761f0ba77f289..d6551f4bccb1c675a0a16bba257619bf399ddb62 100644 (file)
@@ -315,13 +315,13 @@ establish_persistent_connection(int node)
        /*
         * If the node is already in down status or unused, do nothing.
         * except when the node state is down because of quarantine operation
-        * since we want to detect when the node cames back to life again to
+        * since we want to detect when the node comes back to life again to
         * remove it from the quarantine state
         */
        if (bkinfo->backend_status == CON_UNUSED ||
                (bkinfo->backend_status == CON_DOWN && bkinfo->quarantine == false))
        {
-               /* get current time to use auto_faliback_interval */
+               /* get current time to use auto_failback_interval */
                now = time(NULL);
 
                if (pool_config->auto_failback && auto_failback_interval < now &&
@@ -440,7 +440,7 @@ establish_persistent_connection(int node)
                {
                                ereport(LOG,
                                        (errmsg("request auto failback, node id:%d", node)));
-                               /* get current time to use auto_faliback_interval */
+                               /* get current time to use auto_failback_interval */
                                now = time(NULL);
                                auto_failback_interval = now + pool_config->auto_failback_interval;
 
index 59e82859f095d13767dfb511cc3da95eefb24a48..5d586829f31fff03ff414dd93718cd7bafcde822 100644 (file)
@@ -534,7 +534,7 @@ stop_me(void)
 
        for (;;)
        {
-               int             cnt = 5;        /* sending sinal retry interval */
+               int             cnt = 5;        /* sending signal retry interval */
 
                if (kill(pid, stop_sig) == -1)
                {
index 786593ca3897e41bd6441b3b39ed3a1994887c96..02086372735b13db92d029b2729473bfe6aea6fb 100644 (file)
@@ -3206,7 +3206,7 @@ read_status_file(bool discard_status)
        }
 
        /*
-        * Frist try out with old format file.
+        * First try out with old format file.
         */
        is_old_format = true;
 
@@ -4079,7 +4079,7 @@ pool_release_follow_primary_lock(bool remote_request)
                                /*
                                 * Ideally this should not happen.
                                 * yet if for some reason our local node is trying to release a lock
-                                * that is heald by remote node. Just produce a LOG message and release
+                                * that is held by remote node. Just produce a LOG message and release
                                 * the lock
                                 */
                                ereport(LOG,
@@ -4192,7 +4192,7 @@ handle_failback_request(FAILOVER_CONTEXT *failover_context, int node_id)
        else
        {
                /*
-                * The request is a proper failbak request and not because of
+                * The request is a proper failback request and not because of
                 * the update status of quarantined node
                 */
                (void) write_status_file();
@@ -4426,7 +4426,7 @@ exec_failover_command(FAILOVER_CONTEXT *failover_context, int new_main_node_id,
                {
                        if (failover_context->nodes[i])
                        {
-                               /* If this is prmoting specified node, new_main_node
+                               /* If this is promoting specified node, new_main_node
                                 * should be replaced by the requested node. The requested
                                 * node should be REAL_PRIMARY_NODE_ID.
                                 */
@@ -4518,7 +4518,7 @@ determine_new_primary_node(FAILOVER_CONTEXT *failover_context, int node_id)
 }
 
 /*
- * Execute follow primary command if neccessary.
+ * Execute follow primary command if necessary.
  * return new main node id if it needs to be changed.
  * If not changed, -1 will be returned.
  */
index 9afdac88f3e457d1e4cd5084737e599fb8435c86..c3882b13dd43ee0e98f51f7f9291113564764e75 100644 (file)
@@ -524,7 +524,7 @@ backend_cleanup(POOL_CONNECTION * volatile *frontend, POOL_CONNECTION_POOL * vol
        sp = MAIN_CONNECTION(backend)->sp;
 
        /*
-        * cach connection if connection cache configuration parameter is enabled
+        * cache connection if connection cache configuration parameter is enabled
         * and frontend connection is not invalid
         */
        if (sp && pool_config->connection_cache != 0 && frontend_invalid == false)
@@ -1266,7 +1266,7 @@ static RETSIGTYPE authentication_timeout(int sig)
 }
 
 /*
- * Enable authtentication timeout.
+ * Enable authentication timeout.
  */
 static void
 enable_authentication_timeout(void)
@@ -1278,7 +1278,7 @@ enable_authentication_timeout(void)
 }
 
 /*
- * Disable authtentication timeout.
+ * Disable authentication timeout.
  */
 static void
 disable_authentication_timeout(void)
index 8faff3e8b303fdd8b290d8657dc86b6ac50d25b1..25942b6cc0c2a0d6dc2d36f6cf8def7b0aa7de61 100644 (file)
@@ -197,7 +197,7 @@ make_persistent_db_connection_noerror(
                 * receives an ERROR, it stops processing and terminates, which is not
                 * good. This is problematic especially with pcp_node_info, since it
                 * calls db_node_role(), and db_node_role() calls this function. So if
-                * the target PostgreSQL is down, EmitErrorRepor() sends ERROR message
+                * the target PostgreSQL is down, EmitErrorReport() sends ERROR message
                 * to pcp frontend and it stops (see process_pcp_response() in
                 * src/libs/pcp/pcp.c. To fix this, just eliminate calling
                 * EmitErrorReport(). This will suppress ERROR message but as you can
@@ -450,7 +450,7 @@ select_load_balancing_node(void)
                                 errdetail("suggested backend %d is streaming delayed over delay_threshold", suggested_node_id)));
 
                        /*
-                        * The new load balancing node is seleted from the
+                        * The new load balancing node is selected from the
                         * nodes which have the lowest delay.
                         */
                        if (pool_config->delay_threshold_by_time > 0)
index fc2d22283da04b14fad1d4017e35ba785da0bb68..f27773a3ea09f82bb6e95a97322b4f9c29f00a16 100644 (file)
@@ -1000,7 +1000,7 @@ ParameterStatus(POOL_CONNECTION * frontend, POOL_CONNECTION_POOL * backend)
        }
        else
                ereport(ERROR,
-                               (errmsg("ParameterStatus: failed to obatain parameter name, value from the main node.")));
+                               (errmsg("ParameterStatus: failed to obtain parameter name, value from the main node.")));
        return status;
 }
 
@@ -1178,7 +1178,7 @@ is_select_query(Node *node, char *sql)
                }
 
                /*
-                * If SQL comment is not allowed, the query must start with cetain characters.
+                * If SQL comment is not allowed, the query must start with certain characters.
                 * However if it's PREPARE, we should skip the check.
                 */
                if (!pool_config->allow_sql_comments)
@@ -4154,9 +4154,9 @@ start_internal_transaction(POOL_CONNECTION * frontend, POOL_CONNECTION_POOL * ba
  * query in progress flag is set.  At returning, the ReadyForQuery packet
  * length and the transaction state should be left in the backend buffers
  * EXCEPT for backends that do not satisfy VALID_BACKEND macro. This is
- * required because the caller later on calls pool_message_length() wich
+ * required because the caller later on calls pool_message_length() which
  * retrieves the packet length and the transaction state from the backends
- * that satify VALID_BACKEND macro.
+ * that satisfy VALID_BACKEND macro.
  */
 POOL_STATUS
 end_internal_transaction(POOL_CONNECTION * frontend, POOL_CONNECTION_POOL * backend)
index 1684bacac4893301b7acd4fa5ce4ecf47c72ff1b..de5ea195fdb1b82fd720202d5a13fd72888b47b8 100644 (file)
@@ -1815,7 +1815,7 @@ Describe(POOL_CONNECTION * frontend, POOL_CONNECTION_POOL * backend,
        {
                /*
                 * It is possible that client wants to use the portal created by
-                * DECLARE CUSOR or pl/pgSQL function. If so, the describe message
+                * DECLARE CURSOR or pl/pgSQL function. If so, the describe message
                 * should only be sent to primary node.
                 */
                query_context = create_dummy_query_context();
index 241763feb93c5f6ffe51ca8cf718f2edfa8c2472..6526cb9f1db43c644a1f26420b8f6baf1ef4a567 100644 (file)
@@ -3005,7 +3005,7 @@ pool_shmem_lock(POOL_MEMQ_LOCK_TYPE type)
        }
 
 #ifdef LOCK_TRACE
-               elog(LOG, "LOCK TRACE: try to aquire lock %s", type == POOL_MEMQ_EXCLUSIVE_LOCK? "LOCK_EX" : "LOCK_SH");
+               elog(LOG, "LOCK TRACE: try to acquire lock %s", type == POOL_MEMQ_EXCLUSIVE_LOCK? "LOCK_EX" : "LOCK_SH");
 #endif
        if (pool_is_shmem_cache() && !is_shmem_locked)
        {
@@ -3018,7 +3018,7 @@ pool_shmem_lock(POOL_MEMQ_LOCK_TYPE type)
                }
 
 #ifdef LOCK_TRACE
-               elog(LOG, "LOCK TRACE: aquire lock %s", type == POOL_MEMQ_EXCLUSIVE_LOCK? "LOCK_EX" : "LOCK_SH");
+               elog(LOG, "LOCK TRACE: acquire lock %s", type == POOL_MEMQ_EXCLUSIVE_LOCK? "LOCK_EX" : "LOCK_SH");
 #endif
                is_shmem_locked = true;
        }
index 7a526d21abea356f53fc89e53552fe72966c97b9..4dca05e9fa26b9fe468479323cb3f7948ea0f1b3 100644 (file)
@@ -256,7 +256,7 @@ relcache_lookup(TSRewriteContext * ctx)
        return (TSRel *) pool_search_relcache(ts_relcache, ctx->backend, table_name);
 }
 
-/* If timestamp value is required then return ts_const. Otherwize make
+/* If timestamp value is required then return ts_const. Otherwise make
  * a new ParamRef, whose number member is 0 and is overwritten at last,
  * and add it into params list in context.
  */
@@ -782,7 +782,7 @@ rewrite_timestamp_update(UpdateStmt *u_stmt, TSRewriteContext * ctx)
 /*
  * Rewrite `now()' to timestamp literal.
  * If rewrite_to_params is false then, we rewrite `now()' to timestamp constant.
- * Otherwize, we rewrite `now()' to params and expand that at Bind message.
+ * Otherwise, we rewrite `now()' to params and expand that at Bind message.
  * returns query string as palloced string, or NULL if not to need rewrite.
  */
 char *
@@ -1174,7 +1174,7 @@ bind_rewrite_timestamp(POOL_CONNECTION_POOL * backend,
                                copy_to += sizeof(int16);
                        }
                }
-               /* otherwize, copy the original format codes as they are*/
+               /* otherwise, copy the original format codes as they are*/
                else
                {
                        copy_len = num_formats * sizeof(int16);
index 1b075617226855a9b0ec9e96a6bede2d2b9c0fd4..f329dcb32ca6d647ddfe984f12ceab3b5f8bb852 100644 (file)
@@ -252,7 +252,7 @@ backend_clustering_mode = 'streaming_replication'
                                    # Log all statements
 #log_per_node_statement = off
                                    # Log all statements
-                                   # with node and backend informations
+                                   # with node and backend information
 #notice_per_node_statement = off
                                    # logs notice message for per node detailed SQL statements
 #log_client_messages = off
@@ -566,7 +566,7 @@ backend_clustering_mode = 'streaming_replication'
                                    # Password in pool_passwd file before using the empty password
 
 #health_check_database = ''
-                                   # Database name for health check. If '', tries 'postgres' frist, 
+                                   # Database name for health check. If '', tries 'postgres' first.
 #health_check_max_retries = 0
                                    # Maximum number of times to retry a failed health check before giving up.
 #health_check_retry_delay = 1
@@ -679,7 +679,7 @@ backend_clustering_mode = 'streaming_replication'
 
 #auto_failback = off
                                    # Detached backend node reattach automatically
-                                   # if replicatiotate is 'streaming'.
+                                   # if replication is 'streaming'.
 #auto_failback_interval = 1min
                                    # Min interval of executing auto_failback in
                                    # seconds.
@@ -771,7 +771,7 @@ backend_clustering_mode = 'streaming_replication'
                                     # ping command path
                                     # (change requires restart)
 
-# - Behaivor on escalation Setting -
+# - Behavior on escalation Setting -
 
 #clear_memqcache_on_escalation = on
                                     # Clear all the query cache on shared memory
@@ -796,7 +796,7 @@ backend_clustering_mode = 'streaming_replication'
 
 #failover_require_consensus = on
                                     # Perform failover when majority of Pgpool-II nodes
-                                    # aggrees on the backend node status change
+                                    # agrees on the backend node status change
                                     # (change requires restart)
 
 #allow_multiple_failover_requests_from_node = off
@@ -931,7 +931,7 @@ backend_clustering_mode = 'streaming_replication'
                                    # Number of relation cache
                                    # entry. If you see frequently:
                                    # "pool_search_relcache: cache replacement happened"
-                                   # in the pgpool log, you might want to increate this number.
+                                   # in the pgpool log, you might want to increase this number.
 
 #check_temp_table = catalog
                                    # Temporary table check method. catalog, trace or none.
@@ -969,7 +969,7 @@ backend_clustering_mode = 'streaming_replication'
                                    # Defaults to localhost.
                                    # (change requires restart)
 #memqcache_memcached_port = 11211
-                                   # Memcached port number. Mondatory if memqcache_method = 'memcached'.
+                                   # Memcached port number. Mandatory if memqcache_method = 'memcached'.
                                    # Defaults to 11211.
                                    # (change requires restart)
 #memqcache_total_size = 64MB
index c92cf67253eaad71027e25daa217c29bbeb71685..2a410564a7d1c556435e63611e2949008314da97 100644 (file)
@@ -233,7 +233,7 @@ do_worker_child(void)
                        Req_info->switching == false)
                {
                        /*
-                        * Acquire follow primary lock. If fail to acqure lock, try again.
+                        * Acquire follow primary lock. If fail to acquire lock, try again.
                         */
                        follow_primary_lock_acquired = false;
 
index e7fa06446fa37978d848be2c52d242bdbecbb3ba..8f98570a0e7dd7e260e0bf25209eb1a39bea7042 100644 (file)
@@ -29,7 +29,7 @@
 #include "pgproto/buffer.h"
 
 /*
- * Read integer field and returns it.  The pointer in the buffer afer reading
+ * Read integer field and returns it.  The pointer in the buffer after reading
  * the data is returned to "bufp".  If the format is not follows above, exit
  * within this function.
  */
@@ -70,7 +70,7 @@ buffer_read_int(char *buf, char **bufp)
 /*
  * Read string and returns pg_malloced buffer.  The string must start with a
  * double quotation and end with a double quotation. The pointer in the buffer
- * afer reading the data is returned to "bufp".  If the format is not follows
+ * after reading the data is returned to "bufp".  If the format is not follows
  * above, exit within this function.
  */
 char *
@@ -117,7 +117,7 @@ buffer_read_string(char *buf, char **bufp)
 
 /*
  * Read a character and returns it.  The character must start with a single
- * quotation and end with a single quotation. The pointer in the buffer afer
+ * quotation and end with a single quotation. The pointer in the buffer after
  * reading the data is returned to "bufp".  If the format is not follows
  * above, exit within this function.
  */
index 80319d8c38f202b814c22bc907e47941120d1a6e..c8f69475096a1b42f27fc377ef84fc0bac0d965c 100644 (file)
@@ -219,7 +219,7 @@ process_bind(char *buf, PGconn *conn)
 
        send_char('B', conn);
        send_int(len, conn);    /* message length */
-       send_string(portal, conn);      /* protal name */
+       send_string(portal, conn);      /* portal name */
        free(portal);
        send_string(stmt, conn);        /* statement name */
        free(stmt);
index c7c4b0245cd383ed7a7c0d5ad8f56c5e8b3061ff..9ef39b9bd7981d2fdf1dd332b8b6a469411b6495 100644 (file)
@@ -451,7 +451,7 @@ get_config(int *nrows)
 
        StrNCpy(status[i].name, "log_pcp_processes", POOLCONFIG_MAXNAMELEN);
        snprintf(status[i].value, POOLCONFIG_MAXVALLEN, "%d", pool_config->log_pcp_processes);
-       StrNCpy(status[i].desc, "if true, print PCP process forks and anormal exit status to the log", POOLCONFIG_MAXDESCLEN);
+       StrNCpy(status[i].desc, "if true, print PCP process forks and a normal exit status to the log", POOLCONFIG_MAXDESCLEN);
        i++;
 
        StrNCpy(status[i].name, "log_hostname", POOLCONFIG_MAXNAMELEN);
@@ -1553,11 +1553,11 @@ get_pools(int *nrows)
                {
                        int idle_duration = pi->connection_info[pool * MAX_NUM_BACKENDS].client_idle_duration;
                        int load_balancing_node_id = pi->connection_info[pool * MAX_NUM_BACKENDS].load_balancing_node;
-                       int cliet_idle_time = pool_config->client_idle_limit;
+                       int client_idle_time = pool_config->client_idle_limit;
 
                        if (pool_config->client_idle_limit > 0)
                        {
-                               cliet_idle_time = pool_config->client_idle_limit - idle_duration;
+                               client_idle_time = pool_config->client_idle_limit - idle_duration;
                        }
 
                        for (backend_id = 0; backend_id < NUM_BACKENDS; backend_id++)
@@ -1622,8 +1622,8 @@ get_pools(int *nrows)
                                {
                                        snprintf(pools[lines].client_idle_duration, sizeof(pools[lines].client_idle_duration),
                                                         "%d (%d:%02d before client disconnected)", idle_duration,
-                                                        cliet_idle_time / 60,
-                                                        cliet_idle_time % 60);
+                                                        client_idle_time / 60,
+                                                        client_idle_time % 60);
                                }
                                else
                                        snprintf(pools[lines].client_idle_duration, sizeof(pools[lines].client_idle_duration),
index ccee7abd54e83431607c542078f4de4615803107..32362fc6baae4f85be6953ef6a1bd70f2600211d 100644 (file)
@@ -133,7 +133,7 @@ pool_search_relcache(POOL_RELCACHE * relcache, POOL_CONNECTION_POOL * backend, c
 
        /*
         * Obtain database name and node id to be sent query.  If
-        * relcache_query_target is RELQTARGET_LOADL_BALANCE_NODE, we consider
+        * relcache_query_target is RELQTARGET_LOAD_BALANCE_NODE, we consider
         * load balance node id to be used to send queries.
         * 
         * Note that we need to use VALID_BACKEND_RAW, rather than VALID_BACKEND
@@ -260,9 +260,9 @@ pool_search_relcache(POOL_RELCACHE * relcache, POOL_CONNECTION_POOL * backend, c
                        query_cache_data = relation_cache_to_query_cache(res, &query_cache_len);
                        /*
                         * So far, we have already obtained a lock. But to register
-                        * a query cache entry, we need to aquire an exclusive lock.
+                        * a query cache entry, we need to acquire an exclusive lock.
                         * Unfortunately:
-                        * (1) we don't know if we already aquired an exclusive or not.
+                        * (1) we don't know if we already acquired an exclusive or not.
                         * (2) we cannot escalate a shared lock to an exclusive lock.
                         * So we release the lock and obtain an exclusive lock.  This may
                         * create a window and thus we might try to register duplicate
index 65597a5dcc0f5e6a0a430eff1169f9181819125d..6612c84689fc8b005ef9733eb2d6dd0f6de21a55 100644 (file)
@@ -131,7 +131,7 @@ pool_shared_memory_create(size_t size)
 }
 
 /*
- * Removes a shared memory segment from process' address spaceq (called as
+ * Removes a shared memory segment from process' address space (called as
  * an on_shmem_exit callback, hence funny argument list)
  */
 static void
index c9fd55eb7839ec44f0d646bf23a63af98e889f45..6926167146d073333370e1a84aaf71d80ba3c119 100644 (file)
@@ -134,7 +134,7 @@ pool_ssl_negotiate_clientserver(POOL_CONNECTION * cp)
                                ereport(FATAL,
                                                (errcode(ERRCODE_PROTOCOL_VIOLATION),
                                                 errmsg("received unencrypted data after SSL request"),
-                                                errdetail("This could be an evidence of an attempted man-in-the-middle attacck.")));
+                                                errdetail("This could be an evidence of an attempted man-in-the-middle attack.")));
                        }
 
                        SSL_set_fd(cp->ssl, cp->fd);
@@ -189,7 +189,7 @@ pool_ssl_negotiate_serverclient(POOL_CONNECTION * cp)
                        ereport(FATAL,
                                        (errcode(ERRCODE_PROTOCOL_VIOLATION),
                                         errmsg("received unencrypted data after SSL request"),
-                                        errdetail("This could be either a client-software bug or evidence of an attempted man-in-the-middle attacck.")));
+                                        errdetail("This could be either a client-software bug or evidence of an attempted man-in-the-middle attack.")));
                }
 
                SSL_set_fd(cp->ssl, cp->fd);
@@ -265,7 +265,7 @@ retry:
                         * indicate that the underlying transport has been closed.
                         * -------------------------------------------------------------
                         * We don't want to trigger failover but it is also possible that
-                        * the connectoon has been closed. So returns 0 to ask pool_read()
+                        * the connection has been closed. So returns 0 to ask pool_read()
                         * to close connection to frontend.
                         */
                        ereport(WARNING,
index f929623cb58649226fc76c0a6d4de24f3fc43c1f..fdf6a65c00dc3a6980a6f689cef2ff8654fce40f 100644 (file)
@@ -4151,7 +4151,7 @@ wd_execute_cluster_command_processor(WatchdogNode * wdNode, WDPacketData * pkt)
                                                pool_release_follow_primary_lock(true);
                                        else
                                                ereport(LOG,
-                                                               (errmsg("invalid looking operaition[%s] in 'LOCK ON STANDBY' from remote node \"%s\"", operation, wdNode->nodeName),
+                                                               (errmsg("invalid looking operation[%s] in 'LOCK ON STANDBY' from remote node \"%s\"", operation, wdNode->nodeName),
                                                                 errdetail("command ignored")));
                                }
                                else
@@ -5074,7 +5074,7 @@ issue_watchdog_internal_command(WatchdogNode * wdNode, WDPacketData * pkt, int t
 
 /*
  * Check remote connections except their state are either WD_SHUTDOWN or
- * WD_DEAD. If suncceeded in connecting to any of the remote nodes, returns
+ * WD_DEAD. If succeeded in connecting to any of the remote nodes, returns
  * true, otherwise false.
  */
 static bool
@@ -5725,7 +5725,7 @@ watchdog_state_machine_loading(WD_EVENTS event, WatchdogNode * wdNode, WDPacketD
  * This is the intermediate state before going to cluster initialization
  * here we update the information of all connected nodes and move to the
  * initialization state. moving to this state from loading does not make
- * much sence as at loading time we already have updated node informations
+ * much sense as at loading time we already have updated node informations
  */
 static int
 watchdog_state_machine_joining(WD_EVENTS event, WatchdogNode * wdNode, WDPacketData * pkt, WDCommandData * clusterCommand)
index 5182170d35277e7f59eb37c1ba8a1c433d9fb91a..474fc37a495ea541cb1cc8c7a05ed8161a607e29 100644 (file)
@@ -142,7 +142,7 @@ get_pool_config_from_json(char *json_data, int data_len)
        }
 
        value = json_get_value_for_key(root, "health_check_params");
-       /* We don't get seperate health check params from older version
+       /* We don't get separate health check params from older version
         * so be kind if the JSON does not contain one
         */
        if (value != NULL && value->type == json_array)
@@ -970,7 +970,7 @@ parse_wd_exec_cluster_command_json(char *json_data, int data_len,
                        WDExecCommandArg *command_arg = palloc0(sizeof(WDExecCommandArg));
                        /*
                         * Append to list right away, so that deep freeing the list also
-                        * get rid of half cooked argumnts in case of an error
+                        * get rid of half cooked arguments in case of an error
                         */
                        *args_list = lappend(*args_list,command_arg);