Doc: add release notes.
authorBo Peng <pengbo@sraoss.co.jp>
Tue, 14 May 2024 22:50:16 +0000 (07:50 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Tue, 14 May 2024 22:50:41 +0000 (07:50 +0900)
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/release-4.5.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
doc/src/sgml/release-4.5.sgml

index 1110add80cb1c9eb78a2ca67b7296a956755f7fa..0cad47aaffbdc663543b678db79e0bde10ae9209 100644 (file)
@@ -1,6 +1,186 @@
 <!-- doc/src/sgml/release-4.1.sgml -->
 <!-- See header comment in release.sgml about typical markup -->
 
+<sect1 id="release-4-1-20">
+ <title>リリース 4.1.20</title>
+  <note>
+   <title>リリース日</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>不具合修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-04 [cdd3b76]
+    -->
+    <para>
+     セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [fded380]
+    -->
+    <para>
+     初期化されていないメモリエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーが<literal>valgrind</literal>によって報告されました。 
+     <literal>valgrind</literal>は、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 
+     pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [b9b4f42]
+    -->
+    <para>
+     <varname>load_balance_mode</varname>がオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。
+     コミット <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>の修正によって導入された問題です。
+    </para>
+    <para>
+     バグはEmond Papegaaijによって発見・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [2b7dc9f]
+    -->
+    <para>
+     特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>によって報告されました。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [40f2c2e]
+    -->
+    <para>
+     サンプルpgpool.conf内のコメントを修正しました。(Bo Peng)
+    </para>
+    <para>
+     <varname>sr_check_period</varname>のデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。
+    </para>
+    <para>
+     パッチはhiroinによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [6a940ba]
+    -->
+    <para>
+     拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii)
+    </para>
+    <para>
+     コミット<ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>が原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。
+     このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。
+     また、テストケースも追加しました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [b6fef22]
+    -->
+    <para>
+     不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、<productname>Pgpool-II</productname>がハングする可能性がありました。
+     これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。
+    </para>
+    <para>
+     このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。
+     終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。
+     つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、
+     <productname>Pgpool-II</productname>はこのオプションを受け入れません。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>ドキュメント修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [4882f5e]
+    -->
+    <para>
+     「上位サーバへの接続」ドキュメントを改善します。(Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [d361dfd]
+    -->
+    <para>
+     日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto)
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>回帰テスト修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-03-16 [b450688]
+    2024-03-15 [5fc8419]
+    -->
+    <para>
+     Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng)
+    </para>
+    <para>
+     Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。
+    </para>
+    <para>
+     パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-1-19">
  <title>リリース 4.1.19</title>
   <note>
index 0ba7f77f0737080cc6436b6fe49765a8dbf7077a..eb50fb2119d060799aaf9f277683de4b47a6c321 100644 (file)
@@ -1,6 +1,201 @@
 <!-- doc/src/sgml/release-4.2.sgml -->
 <!-- See header comment in release.sgml about typical markup -->
 
+<sect1 id="release-4-2-17">
+ <title>リリース 4.2.17</title>
+  <note>
+   <title>リリース日</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>不具合修正</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-05-01 [afa710e]
+    -->
+    <para>
+     <literal>-Werror=implicit-function-declaration</literal>オプションで発生するコンパイルエラーを修正しました。(Bo Peng)
+    </para>
+    <para>
+     非推奨のldap関数のプロトタイプを含めるために<literal>LDAP_DEPRECATED</literal>を追加しました。
+     また、autoconfチェックで不足していたヘッダーファイルを追加しました。
+    </para>
+    <para>
+     パッチはVladimir Petkoによって作成されました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-04 [57d7985]
+    -->
+    <para>
+     セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [bb1b7eb]
+    -->
+    <para>
+     初期化されていないメモリエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーが<literal>valgrind</literal>によって報告されました。 
+     <literal>valgrind</literal>は、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 
+     pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [4550b68]
+    -->
+    <para>
+     <varname>load_balance_mode</varname>がオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。
+     コミット <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>の修正によって導入された問題です。
+    </para>
+    <para>
+     バグはEmond Papegaaijによって発見・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [1a15495]
+    -->
+    <para>
+     特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>によって報告されました。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [38ee4ae]
+    -->
+    <para>
+     サンプルpgpool.conf内のコメントを修正しました。(Bo Peng)
+    </para>
+    <para>
+     <varname>sr_check_period</varname>のデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。
+    </para>
+    <para>
+     パッチはhiroinによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [ff43279]
+    -->
+    <para>
+     拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii)
+    </para>
+    <para>
+     コミット<ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>が原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。
+     このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。
+     また、テストケースも追加しました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [9d6561a]
+    -->
+    <para>
+     不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、<productname>Pgpool-II</productname>がハングする可能性がありました。
+     これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。
+    </para>
+    <para>
+     このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。
+     終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。
+     つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、
+     <productname>Pgpool-II</productname>はこのオプションを受け入れません。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>ドキュメント修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [8986a8b]
+    -->
+    <para>
+     「上位サーバへの接続」ドキュメントを改善します。(Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [02fb8ea]
+    -->
+    <para>
+     日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto)
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>回帰テスト修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-03-16 [527ad4c]
+    2024-03-15 [65fc6c7]
+    -->
+    <para>
+     Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng)
+    </para>
+    <para>
+     Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。
+    </para>
+    <para>
+     パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-2-16">
  <title>リリース 4.2.16</title>
   <note>
index 6db464031994f9c4e5372cfbda478cd8d78c154c..a88cc23c3d39e66bba6eaf3d4ce0a5702f0b3d5f 100644 (file)
@@ -1,6 +1,223 @@
 <!-- doc/src/sgml/release-4.3.sgml -->
 <!-- See header comment in release.sgml about typical markup -->
 
+<sect1 id="release-4-3-10">
+ <title>リリース 4.3.10</title>
+  <note>
+   <title>リリース日</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>不具合修正</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-05-01 [afa710e]
+    -->
+    <para>
+     <literal>-Werror=implicit-function-declaration</literal>オプションで発生するコンパイルエラーを修正しました。(Bo Peng)
+    </para>
+    <para>
+     非推奨のldap関数のプロトタイプを含めるために<literal>LDAP_DEPRECATED</literal>を追加しました。
+     また、autoconfチェックで不足していたヘッダーファイルを追加しました。
+    </para>
+    <para>
+     パッチはVladimir Petkoによって作成されました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-04 [4bd1450]
+    -->
+    <para>
+     セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [cd4482d]
+    -->
+    <para>
+     初期化されていないメモリエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーが<literal>valgrind</literal>によって報告されました。 
+     <literal>valgrind</literal>は、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 
+     pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [51ec075]
+    -->
+    <para>
+     <varname>load_balance_mode</varname>がオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。
+     コミット <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>の修正によって導入された問題です。
+    </para>
+    <para>
+     バグはEmond Papegaaijによって発見・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [93ee49f]
+    -->
+    <para>
+     特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>によって報告されました。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [1a15495]
+    -->
+    <para>
+     サンプルpgpool.conf内のコメントを修正しました。(Bo Peng)
+    </para>
+    <para>
+     <varname>sr_check_period</varname>のデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。
+    </para>
+    <para>
+     パッチはhiroinによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [6680102]
+    -->
+    <para>
+     拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii)
+    </para>
+    <para>
+     コミット<ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>が原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。
+     このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。
+     また、テストケースも追加しました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [710875a]
+    2024-03-20 [2a7a38b]
+    -->
+    <para>
+     Coverityによって指摘されたメモリリークを修正しました。(Takuma Hoshiai)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [960d339]
+    -->
+    <para>
+     不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、<productname>Pgpool-II</productname>がハングする可能性がありました。
+     これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。
+    </para>
+    <para>
+     このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。
+     終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。
+     つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、
+     <productname>Pgpool-II</productname>はこのオプションを受け入れません。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>ドキュメント修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [8986a8b]
+    -->
+    <para>
+     「上位サーバへの接続」ドキュメントを改善します。(Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [062d4c9]
+    -->
+    <para>
+     日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-27 [0b8f377]
+    -->
+    <para>
+     PostgreSQLノードが2台の場合にpcp_promote_nodeを使用する際の注意点を追加しました。(Masaya Kawamoto)
+    </para>
+    <para>
+     PostgreSQLノードが2台であっても、<varname>follow_primary_command</varname>を設定する必要があるケースがあります。
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>回帰テスト修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-03-16 [927d7ae]
+    2024-03-15 [8e17321]
+    -->
+    <para>
+     Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng)
+    </para>
+    <para>
+     Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。
+    </para>
+    <para>
+     パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-3-9">
  <title>リリース 4.3.9</title>
   <note>
index 17063e0630cc6f332f19c5774f797bb8ed65ac2e..18915791e18b6988c71a162b02f625365521631b 100644 (file)
@@ -1,6 +1,224 @@
 <!-- doc/src/sgml/release-4.4.sgml -->
 <!-- See header comment in release.sgml about typical markup -->
 
+<sect1 id="release-4-4-7">
+ <title>リリース 4.4.7</title>
+  <note>
+   <title>リリース日</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>不具合修正</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-05-01 [afa710e]
+    -->
+    <para>
+     <literal>-Werror=implicit-function-declaration</literal>オプションで発生するコンパイルエラーを修正しました。(Bo Peng)
+    </para>
+    <para>
+     非推奨のldap関数のプロトタイプを含めるために<literal>LDAP_DEPRECATED</literal>を追加しました。
+     また、autoconfチェックで不足していたヘッダーファイルを追加しました。
+    </para>
+    <para>
+     パッチはVladimir Petkoによって作成されました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-04 [ad42306]
+    2024-04-04 [9dee833]
+    -->
+    <para>
+     セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [cd4482d]
+    -->
+    <para>
+     初期化されていないメモリエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーが<literal>valgrind</literal>によって報告されました。 
+     <literal>valgrind</literal>は、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 
+     pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [ba6142f]
+    -->
+    <para>
+     <varname>load_balance_mode</varname>がオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。
+     コミット <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>の修正によって導入された問題です。
+    </para>
+    <para>
+     バグはEmond Papegaaijによって発見・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [93ee49f]
+    -->
+    <para>
+     特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>によって報告されました。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [1a15495]
+    -->
+    <para>
+     サンプルpgpool.conf内のコメントを修正しました。(Bo Peng)
+    </para>
+    <para>
+     <varname>sr_check_period</varname>のデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。
+    </para>
+    <para>
+     パッチはhiroinによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [9054387]
+    -->
+    <para>
+     拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii)
+    </para>
+    <para>
+     コミット<ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>が原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。
+     このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。
+     また、テストケースも追加しました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [710875a]
+    2024-03-20 [2a7a38b]
+    -->
+    <para>
+     Coverityによって指摘されたメモリリークを修正しました。(Takuma Hoshiai)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [02452a6]
+    -->
+    <para>
+     不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、<productname>Pgpool-II</productname>がハングする可能性がありました。
+     これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。
+    </para>
+    <para>
+     このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。
+     終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。
+     つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、
+     <productname>Pgpool-II</productname>はこのオプションを受け入れません。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>ドキュメント修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [8986a8b]
+    -->
+    <para>
+     「上位サーバへの接続」ドキュメントを改善します。(Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [062d4c9]
+    -->
+    <para>
+     日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-27 [0b8f377]
+    -->
+    <para>
+     PostgreSQLノードが2台の場合にpcp_promote_nodeを使用する際の注意点を追加しました。(Masaya Kawamoto)
+    </para>
+    <para>
+     PostgreSQLノードが2台であっても、<varname>follow_primary_command</varname>を設定する必要があるケースがあります。
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>回帰テスト修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-03-16 [927d7ae]
+    2024-03-15 [8e17321]
+    -->
+    <para>
+     Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng)
+    </para>
+    <para>
+     Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。
+    </para>
+    <para>
+     パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-4-6">
  <title>リリース 4.4.6</title>
   <note>
index 5008ea70e4f6ce8f0a02b408f0c0a2e2903d43ce..0cae0b4f8476e3c9a42c5d4050bef493ef43873e 100644 (file)
@@ -1,6 +1,248 @@
 <!-- doc/src/sgml/release-4.5.sgml -->
 <!-- See header comment in release.sgml about typical markup -->
 
+<sect1 id="release-4-5-2">
+ <title>リリース 4.5.2</title>
+  <note>
+   <title>リリース日</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>不具合修正</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-05-01 [c55384a]
+    -->
+    <para>
+     <literal>-Werror=implicit-function-declaration</literal>オプションで発生するコンパイルエラーを修正しました。(Bo Peng)
+    </para>
+    <para>
+     非推奨のldap関数のプロトタイプを含めるために<literal>LDAP_DEPRECATED</literal>を追加しました。
+     また、autoconfチェックで不足していたヘッダーファイルを追加しました。
+    </para>
+    <para>
+     パッチはVladimir Petkoによって作成されました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-04 [f05fb63]
+    2024-04-04 [5acf27a]
+    -->
+    <para>
+     セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [02d18f9]
+    -->
+    <para>
+     初期化されていないメモリエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーが<literal>valgrind</literal>によって報告されました。 
+     <literal>valgrind</literal>は、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 
+     pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。
+    </para>
+    <para>
+     この問題は、Emond Papegaaijによって報告・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [f686549]
+    -->
+    <para>
+     <varname>load_balance_mode</varname>がオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。
+     コミット <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>の修正によって導入された問題です。
+    </para>
+    <para>
+     バグはEmond Papegaaijによって発見・分析されました。
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [c030221]
+    -->
+    <para>
+     特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>によって報告されました。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [440edf3]
+    -->
+    <para>
+     サンプルpgpool.conf内のコメントを修正しました。(Bo Peng)
+    </para>
+    <para>
+     <varname>sr_check_period</varname>のデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。
+    </para>
+    <para>
+     パッチはhiroinによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-22 [b32655c]
+    -->
+    <para>
+     configディレクトリ配下のファイルを削除しました。(Takuma Hoshiai)
+    </para>
+    <para>
+     <command>autoconf</command>によって生成される<filename>Makefile.in</filename>などを削除しました。 
+     src/config配下に<filename>.gitignore</filename>を作成し、bisonとflexによって生成されるファイルを追加しました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [9054387]
+    -->
+    <para>
+     拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii)
+    </para>
+    <para>
+     コミット<ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>が原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。
+     このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。
+     また、テストケースも追加しました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [d57d997]
+    2024-03-21 [5a6c82e]
+    -->
+    <para>
+     Coverityによって指摘されたメモリリークを修正しました。(Takuma Hoshiai)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [b929717]
+    -->
+    <para>
+     不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、<productname>Pgpool-II</productname>がハングする可能性がありました。
+     これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。
+    </para>
+    <para>
+     このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。
+     終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。
+     つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、
+     <productname>Pgpool-II</productname>はこのオプションを受け入れません。
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>ドキュメント修正</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [8986a8b]
+    -->
+    <para>
+     「上位サーバへの接続」ドキュメントを改善します。(Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [062d4c9]
+    -->
+    <para>
+     日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-27 [0b8f377]
+    -->
+    <para>
+     PostgreSQLノードが2台の場合にpcp_promote_nodeを使用する際の注意点を追加しました。(Masaya Kawamoto)
+    </para>
+    <para>
+     PostgreSQLノードが2台であっても、<varname>follow_primary_command</varname>を設定する必要があるケースがあります。
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>回帰テスト修正</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-04-04 [4ffb9c9]
+    -->
+    <para>
+     037.failover_sessionを修正しました。(Tatsuo Ishii)
+    </para>
+    <para>
+     テストスクリプトは終了前にshutdownallを実行するのを忘れていました。
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-16 [927d7ae]
+    2024-03-15 [8e17321]
+    -->
+    <para>
+     Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng)
+    </para>
+    <para>
+     Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。
+    </para>
+    <para>
+     パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-5-1">
  <title>リリース 4.5.1</title>
   <note>
index 25812eb976277ccd12e67670e6123fc99d9624b7..c3b2457dfc84e0b5f7ea4f90dc6803595756e7fe 100644 (file)
@@ -1,6 +1,198 @@
 <!-- doc/src/sgml/release-4.1.sgml -->
 <!-- See header comment in release.sgml about typical markup -->
 
+<sect1 id="release-4-1-20">
+ <title>Release 4.1.20</title>
+  <note>
+   <title>Release Date</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>Bug fixes</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-04 [cdd3b76]
+    -->
+    <para>
+     Fix assorted causes of segmentation fault. (Tatsuo Ishii)
+    </para>
+    <para>
+     It is reported that pgpool and its child process segfault in certain
+     cases when failover involved.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [fded380]
+    -->
+    <para>
+     Fix uninitialized memory error. (Tatsuo Ishii)
+    </para>
+    <para>
+     It was reported that valgrind found several errors including an
+     uninitialized memory error in read_startup_packet. It allocates memory
+     for user name in a startup packet in case cancel or SSL request using
+     palloc, and later on the memory is used by pstrdup. Since memory
+     allocated by palloc is undefined, this should have been palloc0.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [b9b4f42]
+    -->
+    <para>
+     Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>
+     brought errors/hung up when load_balance_mode is off, primary node id
+     is not 0 and queries are BEGIN etc.
+    </para>
+    <para>
+     Bug found and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [2b7dc9f]
+    -->
+    <para>
+     Fix compile errors with certain CFLAGS. (Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>
+     reported that with CFLAGS
+     -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
+     gcc emits errors.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [40f2c2e]
+    -->
+    <para>
+     Fix comments in sample pgpool.conf. (Bo Peng)
+    </para>
+    <para>
+     The default value for <varname>sr_check_period</varname> should be 10 seconds.
+     Also fixed some typos in comments.
+    </para>
+    <para>
+     Patch is created by hiroin and modified by Bo Peng.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [6a940ba]
+    -->
+    <para>
+     Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>
+     caused reset queries fail if extended query messages do not end. This commit
+     fix that by checking whether we are running reset queries in
+     SimpleQuery(). Also add the test case for this.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [b6fef22]
+    -->
+    <para>
+     Guard against inappropriate protocol data. (Tatsuo Ishii)
+    </para>
+    <para>
+     If a simple query message arrives before a sequence of extended query
+     messages ends pgpool could hang.  This is because the query context in
+     the session context for the simple query is overwritten by the query
+     contexts of the extended query messages.
+    </para>
+    <para>
+     This commit implements a guard in SimpleQuery() by checking whether
+     extended query protocol messages ended. If they do not end, raise a
+     FATAL error. A known example detected by this checking is JDBC
+     driver's "autosave=always" option. This means pgpool will not accept
+     the option after this commit until the issue (sending a simple
+     protocol message before ending extended query message protocol) is
+     fixed by the JDBC driver side.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Documents</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [4882f5e]
+    -->
+    <para>
+     Enhance "Upstream server connection" documentation. (Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [d361dfd]
+    -->
+    <para>
+     Language cleanup in Japanese document. (Masaya Kawamoto)
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Regression Tests</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-03-16 [b450688]
+    2024-03-15 [5fc8419]
+    -->
+    <para>
+     Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng)
+    </para>
+    <para>
+     Replace Runtime.exec(String) with Runtime.exec(String[]) to avoid Java 21 deprecation warnings.
+     Patch is created by Vladimir Petko and modified by Bo Peng.
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-1-19">
  <title>Release 4.1.19</title>
   <note>
index 01e3bd4d7f0f462d0141f939ff39184f80cb475b..265e2921313a603fdbdd950cb75106c761c609b1 100644 (file)
@@ -1,6 +1,213 @@
 <!-- doc/src/sgml/release-4.2.sgml -->
 <!-- See header comment in release.sgml about typical markup -->
 
+<sect1 id="release-4-2-17">
+ <title>Release 4.2.17</title>
+  <note>
+   <title>Release Date</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>Bug fixes</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-05-01 [afa710e]
+    -->
+    <para>
+     Fix compiler error with <literal>-Werror=implicit-function-declaration</literal>. (Bo Peng)
+    </para>
+    <para>
+     Add <literal>LDAP_DEPRECATED</literal> to include prototypes for deprecated ldap functions.
+     Also Add missing header files in autoconf check.
+    </para>
+    <para>
+     Patch is created by Vladimir Petko.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-04 [57d7985]
+    -->
+    <para>
+     Fix assorted causes of segmentation fault. (Tatsuo Ishii)
+    </para>
+    <para>
+     It is reported that pgpool and its child process segfault in certain
+     cases when failover involved.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [bb1b7eb]
+    -->
+    <para>
+     Fix uninitialized memory error. (Tatsuo Ishii)
+    </para>
+    <para>
+     It was reported that valgrind found several errors including an
+     uninitialized memory error in read_startup_packet. It allocates memory
+     for user name in a startup packet in case cancel or SSL request using
+     palloc, and later on the memory is used by pstrdup. Since memory
+     allocated by palloc is undefined, this should have been palloc0.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [4550b68]
+    -->
+    <para>
+     Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>
+     brought errors/hung up when load_balance_mode is off, primary node id
+     is not 0 and queries are BEGIN etc.
+    </para>
+    <para>
+     Bug found and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [f3dd0c1]
+    -->
+    <para>
+     Fix compile errors with certain CFLAGS. (Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>
+     reported that with CFLAGS
+     -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
+     gcc emits errors.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [38ee4ae]
+    -->
+    <para>
+     Fix comments in sample pgpool.conf. (Bo Peng)
+    </para>
+    <para>
+     The default value for <varname>sr_check_period</varname> should be 10 seconds.
+     Also fixed some typos in comments.
+    </para>
+    <para>
+     Patch is created by hiroin and modified by Bo Peng.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [ff43279]
+    -->
+    <para>
+     Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>
+     caused reset queries fail if extended query messages do not end. This commit
+     fix that by checking whether we are running reset queries in
+     SimpleQuery(). Also add the test case for this.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [9d6561a]
+    -->
+    <para>
+     Guard against inappropriate protocol data. (Tatsuo Ishii)
+    </para>
+    <para>
+     If a simple query message arrives before a sequence of extended query
+     messages ends pgpool could hang.  This is because the query context in
+     the session context for the simple query is overwritten by the query
+     contexts of the extended query messages.
+    </para>
+    <para>
+     This commit implements a guard in SimpleQuery() by checking whether
+     extended query protocol messages ended. If they do not end, raise a
+     FATAL error. A known example detected by this checking is JDBC
+     driver's "autosave=always" option. This means pgpool will not accept
+     the option after this commit until the issue (sending a simple
+     protocol message before ending extended query message protocol) is
+     fixed by the JDBC driver side.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Documents</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [8986a8b]
+    -->
+    <para>
+     Enhance "Upstream server connection" documentation. (Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [02fb8ea]
+    -->
+    <para>
+     Language cleanup in Japanese document. (Masaya Kawamoto)
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Regression Tests</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-03-16 [527ad4c]
+    2024-03-15 [65fc6c7]
+    -->
+    <para>
+     Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng)
+    </para>
+    <para>
+     Replace Runtime.exec(String) with Runtime.exec(String[]) to avoid Java 21 deprecation warnings.
+     Patch is created by Vladimir Petko and modified by Bo Peng.
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-2-16">
  <title>Release 4.2.16</title>
   <note>
index 771846eec2f7497320aca7c7076d87c1c480bd70..4c89ca373bd2951579e74e68a9b2e34e48ca711c 100644 (file)
@@ -1,6 +1,237 @@
 <!-- doc/src/sgml/release-4.3.sgml -->
 <!-- See header comment in release.sgml about typical markup -->
 
+<sect1 id="release-4-3-10">
+ <title>Release 4.3.10</title>
+  <note>
+   <title>Release Date</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>Bug fixes</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-05-01 [afa710e]
+    -->
+    <para>
+     Fix compiler error with <literal>-Werror=implicit-function-declaration</literal>. (Bo Peng)
+    </para>
+    <para>
+     Add <literal>LDAP_DEPRECATED</literal> to include prototypes for deprecated ldap functions.
+     Also Add missing header files in autoconf check.
+    </para>
+    <para>
+     Patch is created by Vladimir Petko.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-04 [ad42306]
+    2024-04-04 [9dee833]
+    -->
+    <para>
+     Fix assorted causes of segmentation fault. (Tatsuo Ishii)
+    </para>
+    <para>
+     It is reported that pgpool and its child process segfault in certain
+     cases when failover involved.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [cd4482d]
+    -->
+    <para>
+     Fix uninitialized memory error. (Tatsuo Ishii)
+    </para>
+    <para>
+     It was reported that valgrind found several errors including an
+     uninitialized memory error in read_startup_packet. It allocates memory
+     for user name in a startup packet in case cancel or SSL request using
+     palloc, and later on the memory is used by pstrdup. Since memory
+     allocated by palloc is undefined, this should have been palloc0.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [ba6142f]
+    -->
+    <para>
+     Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>
+     brought errors/hung up when load_balance_mode is off, primary node id
+     is not 0 and queries are BEGIN etc.
+    </para>
+    <para>
+     Bug found and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [93ee49f]
+    -->
+    <para>
+     Fix compile errors with certain CFLAGS. (Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>
+     reported that with CFLAGS
+     -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
+     gcc emits errors.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [1a15495]
+    -->
+    <para>
+     Fix comments in sample pgpool.conf. (Bo Peng)
+    </para>
+    <para>
+     The default value for <varname>sr_check_period</varname> should be 10 seconds.
+     Also fixed some typos in comments.
+    </para>
+    <para>
+     Patch is created by hiroin and modified by Bo Peng.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [9054387]
+    -->
+    <para>
+     Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>
+     caused reset queries fail if extended query messages do not end. This commit
+     fix that by checking whether we are running reset queries in
+     SimpleQuery(). Also add the test case for this.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [710875a]
+    2024-03-20 [2a7a38b]
+    -->
+    <para>
+     Fix memory leak pointed out by Coverity. (Takuma Hoshiai)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [02452a6]
+    -->
+    <para>
+     Guard against inappropriate protocol data. (Tatsuo Ishii)
+    </para>
+    <para>
+     If a simple query message arrives before a sequence of extended query
+     messages ends pgpool could hang.  This is because the query context in
+     the session context for the simple query is overwritten by the query
+     contexts of the extended query messages.
+    </para>
+    <para>
+     This commit implements a guard in SimpleQuery() by checking whether
+     extended query protocol messages ended. If they do not end, raise a
+     FATAL error. A known example detected by this checking is JDBC
+     driver's "autosave=always" option. This means pgpool will not accept
+     the option after this commit until the issue (sending a simple
+     protocol message before ending extended query message protocol) is
+     fixed by the JDBC driver side.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Documents</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [8986a8b]
+    -->
+    <para>
+     Enhance "Upstream server connection" documentation. (Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [062d4c9]
+    -->
+    <para>
+     Language cleanup in Japanese document. (Masaya Kawamoto)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-27 [0b8f377]
+    -->
+    <para>
+     Add the note about using <command>pcp_promote_node</command> when two postgres nodes. (Masaya Kawamoto)
+    </para>
+    <para>
+     Even if there are two postgres nodes, there are cases that
+     <varname>follow_primary_command</varname> is required to be set.
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Regression Tests</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-03-16 [927d7ae]
+    2024-03-15 [8e17321]
+    -->
+    <para>
+     Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng)
+    </para>
+    <para>
+     Replace Runtime.exec(String) with Runtime.exec(String[]) to avoid Java 21 deprecation warnings.
+     Patch is created by Vladimir Petko and modified by Bo Peng.
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-3-9">
  <title>Release 4.3.9</title>
   <note>
index 99948180ad6d290558f8b653c3d73d1587383315..fad0679356216eab1aa50d2012223428a619cb97 100644 (file)
@@ -1,6 +1,237 @@
 <!-- doc/src/sgml/release-4.4.sgml -->
 <!-- See header comment in release.sgml about typical markup -->
 
+<sect1 id="release-4-4-7">
+ <title>Release 4.4.7</title>
+  <note>
+   <title>Release Date</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>Bug fixes</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-05-01 [afa710e]
+    -->
+    <para>
+     Fix compiler error with <literal>-Werror=implicit-function-declaration</literal>. (Bo Peng)
+    </para>
+    <para>
+     Add <literal>LDAP_DEPRECATED</literal> to include prototypes for deprecated ldap functions.
+     Also Add missing header files in autoconf check.
+    </para>
+    <para>
+     Patch is created by Vladimir Petko.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-04 [ad42306]
+    2024-04-04 [9dee833]
+    -->
+    <para>
+     Fix assorted causes of segmentation fault. (Tatsuo Ishii)
+    </para>
+    <para>
+     It is reported that pgpool and its child process segfault in certain
+     cases when failover involved.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [cd4482d]
+    -->
+    <para>
+     Fix uninitialized memory error. (Tatsuo Ishii)
+    </para>
+    <para>
+     It was reported that valgrind found several errors including an
+     uninitialized memory error in read_startup_packet. It allocates memory
+     for user name in a startup packet in case cancel or SSL request using
+     palloc, and later on the memory is used by pstrdup. Since memory
+     allocated by palloc is undefined, this should have been palloc0.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [ba6142f]
+    -->
+    <para>
+     Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>
+     brought errors/hung up when load_balance_mode is off, primary node id
+     is not 0 and queries are BEGIN etc.
+    </para>
+    <para>
+     Bug found and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [93ee49f]
+    -->
+    <para>
+     Fix compile errors with certain CFLAGS. (Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>
+     reported that with CFLAGS
+     -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
+     gcc emits errors.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [1a15495]
+    -->
+    <para>
+     Fix comments in sample pgpool.conf. (Bo Peng)
+    </para>
+    <para>
+     The default value for <varname>sr_check_period</varname> should be 10 seconds.
+     Also fixed some typos in comments.
+    </para>
+    <para>
+     Patch is created by hiroin and modified by Bo Peng.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [9054387]
+    -->
+    <para>
+     Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>
+     caused reset queries fail if extended query messages do not end. This commit
+     fix that by checking whether we are running reset queries in
+     SimpleQuery(). Also add the test case for this.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [710875a]
+    2024-03-20 [2a7a38b]
+    -->
+    <para>
+     Fix memory leak pointed out by Coverity. (Takuma Hoshiai)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [02452a6]
+    -->
+    <para>
+     Guard against inappropriate protocol data. (Tatsuo Ishii)
+    </para>
+    <para>
+     If a simple query message arrives before a sequence of extended query
+     messages ends pgpool could hang.  This is because the query context in
+     the session context for the simple query is overwritten by the query
+     contexts of the extended query messages.
+    </para>
+    <para>
+     This commit implements a guard in SimpleQuery() by checking whether
+     extended query protocol messages ended. If they do not end, raise a
+     FATAL error. A known example detected by this checking is JDBC
+     driver's "autosave=always" option. This means pgpool will not accept
+     the option after this commit until the issue (sending a simple
+     protocol message before ending extended query message protocol) is
+     fixed by the JDBC driver side.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Documents</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [8986a8b]
+    -->
+    <para>
+     Enhance "Upstream server connection" documentation. (Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [062d4c9]
+    -->
+    <para>
+     Language cleanup in Japanese document. (Masaya Kawamoto)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-27 [0b8f377]
+    -->
+    <para>
+     Add the note about using <command>pcp_promote_node</command> when two postgres nodes. (Masaya Kawamoto)
+    </para>
+    <para>
+     Even if there are two postgres nodes, there are cases that
+     <varname>follow_primary_command</varname> is required to be set.
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Regression Tests</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-03-16 [927d7ae]
+    2024-03-15 [8e17321]
+    -->
+    <para>
+     Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng)
+    </para>
+    <para>
+     Replace Runtime.exec(String) with Runtime.exec(String[]) to avoid Java 21 deprecation warnings.
+     Patch is created by Vladimir Petko and modified by Bo Peng.
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-4-6">
  <title>Release 4.4.6</title>
   <note>
index a612d19b510ccbd6e557d2b4207867348cd57ab8..e6264adadd0f9475b5785281948ba46e9553808b 100644 (file)
@@ -1,3 +1,259 @@
+<sect1 id="release-4-5-2">
+ <title>Release 4.5.2</title>
+  <note>
+   <title>Release Date</title>
+   <simpara>2024-05-16</simpara>
+  </note>
+
+ <sect2>
+  <title>Bug fixes</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-05-01 [c55384a]
+    -->
+    <para>
+     Fix compiler error with <literal>-Werror=implicit-function-declaration</literal>. (Bo Peng)
+    </para>
+    <para>
+     Add <literal>LDAP_DEPRECATED</literal> to include prototypes for deprecated ldap functions.
+     Also Add missing header files in autoconf check.
+    </para>
+    <para>
+     Patch is created by Vladimir Petko.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-04 [f05fb63]
+    2024-04-04 [5acf27a]
+    -->
+    <para>
+     Fix assorted causes of segmentation fault. (Tatsuo Ishii)
+    </para>
+    <para>
+     It is reported that pgpool and its child process segfault in certain
+     cases when failover involved.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-03 [02d18f9]
+    -->
+    <para>
+     Fix uninitialized memory error. (Tatsuo Ishii)
+    </para>
+    <para>
+     It was reported that valgrind found several errors including an
+     uninitialized memory error in read_startup_packet. It allocates memory
+     for user name in a startup packet in case cancel or SSL request using
+     palloc, and later on the memory is used by pstrdup. Since memory
+     allocated by palloc is undefined, this should have been palloc0.
+    </para>
+    <para>
+     Problem is reported and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html">https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-04-02 [f686549]
+    -->
+    <para>
+     Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3f3c1656">3f3c1656</ulink>
+     brought errors/hung up when load_balance_mode is off, primary node id
+     is not 0 and queries are BEGIN etc.
+    </para>
+    <para>
+     Bug found and analyzed by Emond Papegaaij.
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html">https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [c030221]
+    -->
+    <para>
+     Fix compile errors with certain CFLAGS. (Tatsuo Ishii)
+    </para>
+    <para>
+     <ulink url="https://github.com/pgpool/pgpool2/issues/42">https://github.com/pgpool/pgpool2/issues/42</ulink>
+     reported that with CFLAGS
+     -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
+     gcc emits errors.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html</ulink>
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-25 [440edf3]
+    -->
+    <para>
+     Fix comments in sample pgpool.conf. (Bo Peng)
+    </para>
+    <para>
+     The default value for <varname>sr_check_period</varname> should be 10 seconds.
+     Also fixed some typos in comments.
+    </para>
+    <para>
+     Patch is created by hiroin and modified by Bo Peng.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-22 [b32655c]
+    -->
+    <para>
+     Remove a file under config directory. (Takuma Hoshiai)
+    </para>
+    <para>
+     Remove <filename>Makefile.in</filename> etc. generated by <command>autoconf</command>.
+     Create <filename>.gitignore</filename> under src/config and add generated files by
+     bison and flex.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [9054387]
+    -->
+    <para>
+     Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii)
+    </para>
+    <para>
+     Commit <ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=240c668d">240c668d</ulink>
+     caused reset queries fail if extended query messages do not end. This commit
+     fix that by checking whether we are running reset queries in
+     SimpleQuery(). Also add the test case for this.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-21 [d57d997]
+    2024-03-21 [5a6c82e]
+    -->
+    <para>
+     Fix memory leak pointed out by Coverity. (Takuma Hoshiai)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-18 [b929717]
+    -->
+    <para>
+     Guard against inappropriate protocol data. (Tatsuo Ishii)
+    </para>
+    <para>
+     If a simple query message arrives before a sequence of extended query
+     messages ends pgpool could hang.  This is because the query context in
+     the session context for the simple query is overwritten by the query
+     contexts of the extended query messages.
+    </para>
+    <para>
+     This commit implements a guard in SimpleQuery() by checking whether
+     extended query protocol messages ended. If they do not end, raise a
+     FATAL error. A known example detected by this checking is JDBC
+     driver's "autosave=always" option. This means pgpool will not accept
+     the option after this commit until the issue (sending a simple
+     protocol message before ending extended query message protocol) is
+     fixed by the JDBC driver side.
+    </para>
+    <para>
+     Discussion: <ulink url="https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html">https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html</ulink>
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Documents</title>
+  <itemizedlist>
+
+   <listitem>
+    <!--
+    2024-04-03 [8986a8b]
+    -->
+    <para>
+     Enhance "Upstream server connection" documentation. (Bo Peng)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-28 [062d4c9]
+    -->
+    <para>
+     Language cleanup in Japanese document. (Masaya Kawamoto)
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-27 [0b8f377]
+    -->
+    <para>
+     Add the note about using <command>pcp_promote_node</command> when two postgres nodes. (Masaya Kawamoto)
+    </para>
+    <para>
+     Even if there are two postgres nodes, there are cases that
+     <varname>follow_primary_command</varname> is required to be set.
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+
+ <sect2>
+  <title>Regression Tests</title>
+  <itemizedlist>
+   <listitem>
+    <!--
+    2024-04-04 [4ffb9c9]
+    -->
+    <para>
+     Fix 037.failover_session. (Tatsuo Ishii)
+    </para>
+    <para>
+     The test script forgot to execute shutdownall before exiting.
+    </para>
+   </listitem>
+
+   <listitem>
+    <!--
+    2024-03-16 [927d7ae]
+    2024-03-15 [8e17321]
+    -->
+    <para>
+     Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng)
+    </para>
+    <para>
+     Replace Runtime.exec(String) with Runtime.exec(String[]) to avoid Java 21 deprecation warnings.
+     Patch is created by Vladimir Petko and modified by Bo Peng.
+    </para>
+   </listitem>
+
+  </itemizedlist>
+ </sect2>
+</sect1>
+
 <sect1 id="release-4-5-1">
  <title>Release 4.5.1</title>
   <note>