From 6f44229349ee9a42fac90cf090a2a8edac78e26b Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Wed, 15 May 2024 07:50:16 +0900 Subject: [PATCH] Doc: add release notes. --- doc.ja/src/sgml/release-4.1.sgml | 180 ++++++++++++++++++++++ doc.ja/src/sgml/release-4.2.sgml | 195 +++++++++++++++++++++++ doc.ja/src/sgml/release-4.3.sgml | 217 ++++++++++++++++++++++++++ doc.ja/src/sgml/release-4.4.sgml | 218 ++++++++++++++++++++++++++ doc.ja/src/sgml/release-4.5.sgml | 242 +++++++++++++++++++++++++++++ doc/src/sgml/release-4.1.sgml | 192 +++++++++++++++++++++++ doc/src/sgml/release-4.2.sgml | 207 +++++++++++++++++++++++++ doc/src/sgml/release-4.3.sgml | 231 ++++++++++++++++++++++++++++ doc/src/sgml/release-4.4.sgml | 231 ++++++++++++++++++++++++++++ doc/src/sgml/release-4.5.sgml | 256 +++++++++++++++++++++++++++++++ 10 files changed, 2169 insertions(+) diff --git a/doc.ja/src/sgml/release-4.1.sgml b/doc.ja/src/sgml/release-4.1.sgml index 1110add80..0cad47aaf 100644 --- a/doc.ja/src/sgml/release-4.1.sgml +++ b/doc.ja/src/sgml/release-4.1.sgml @@ -1,6 +1,186 @@ + + リリース 4.1.20 + + リリース日 + 2024-05-16 + + + + 不具合修正 + + + + + + セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii) + + + フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + 初期化されていないメモリエラーを修正しました。(Tatsuo Ishii) + + + read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーがvalgrindによって報告されました。 + valgrindは、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 + pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + load_balance_modeがオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii) + + + load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。 + コミット 3f3c1656の修正によって導入された問題です。 + + + バグはEmond Papegaaijによって発見・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + 特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42によって報告されました。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + サンプルpgpool.conf内のコメントを修正しました。(Bo Peng) + + + sr_check_periodのデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。 + + + パッチはhiroinによって作成され、Bo Pengによって修正されました。 + + + + + + + 拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii) + + + コミット240c668dが原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。 + このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。 + また、テストケースも追加しました。 + + + + + + + 不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii) + + + 拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、Pgpool-IIがハングする可能性がありました。 + これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。 + + + このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。 + 終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。 + つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、 + Pgpool-IIはこのオプションを受け入れません。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + ドキュメント修正 + + + + + + 「上位サーバへの接続」ドキュメントを改善します。(Bo Peng) + + + + + + + 日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto) + + + + + + + + 回帰テスト修正 + + + + + + Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng) + + + Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。 + + + パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。 + + + + + + + リリース 4.1.19 diff --git a/doc.ja/src/sgml/release-4.2.sgml b/doc.ja/src/sgml/release-4.2.sgml index 0ba7f77f0..eb50fb211 100644 --- a/doc.ja/src/sgml/release-4.2.sgml +++ b/doc.ja/src/sgml/release-4.2.sgml @@ -1,6 +1,201 @@ + + リリース 4.2.17 + + リリース日 + 2024-05-16 + + + + 不具合修正 + + + + + -Werror=implicit-function-declarationオプションで発生するコンパイルエラーを修正しました。(Bo Peng) + + + 非推奨のldap関数のプロトタイプを含めるためにLDAP_DEPRECATEDを追加しました。 + また、autoconfチェックで不足していたヘッダーファイルを追加しました。 + + + パッチはVladimir Petkoによって作成されました。 + + + + + + + セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii) + + + フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + 初期化されていないメモリエラーを修正しました。(Tatsuo Ishii) + + + read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーがvalgrindによって報告されました。 + valgrindは、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 + pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + load_balance_modeがオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii) + + + load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。 + コミット 3f3c1656の修正によって導入された問題です。 + + + バグはEmond Papegaaijによって発見・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + 特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42によって報告されました。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + サンプルpgpool.conf内のコメントを修正しました。(Bo Peng) + + + sr_check_periodのデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。 + + + パッチはhiroinによって作成され、Bo Pengによって修正されました。 + + + + + + + 拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii) + + + コミット240c668dが原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。 + このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。 + また、テストケースも追加しました。 + + + + + + + 不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii) + + + 拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、Pgpool-IIがハングする可能性がありました。 + これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。 + + + このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。 + 終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。 + つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、 + Pgpool-IIはこのオプションを受け入れません。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + ドキュメント修正 + + + + + + 「上位サーバへの接続」ドキュメントを改善します。(Bo Peng) + + + + + + + 日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto) + + + + + + + + 回帰テスト修正 + + + + + + Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng) + + + Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。 + + + パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。 + + + + + + + リリース 4.2.16 diff --git a/doc.ja/src/sgml/release-4.3.sgml b/doc.ja/src/sgml/release-4.3.sgml index 6db464031..a88cc23c3 100644 --- a/doc.ja/src/sgml/release-4.3.sgml +++ b/doc.ja/src/sgml/release-4.3.sgml @@ -1,6 +1,223 @@ + + リリース 4.3.10 + + リリース日 + 2024-05-16 + + + + 不具合修正 + + + + + -Werror=implicit-function-declarationオプションで発生するコンパイルエラーを修正しました。(Bo Peng) + + + 非推奨のldap関数のプロトタイプを含めるためにLDAP_DEPRECATEDを追加しました。 + また、autoconfチェックで不足していたヘッダーファイルを追加しました。 + + + パッチはVladimir Petkoによって作成されました。 + + + + + + + セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii) + + + フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + 初期化されていないメモリエラーを修正しました。(Tatsuo Ishii) + + + read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーがvalgrindによって報告されました。 + valgrindは、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 + pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + load_balance_modeがオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii) + + + load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。 + コミット 3f3c1656の修正によって導入された問題です。 + + + バグはEmond Papegaaijによって発見・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + 特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42によって報告されました。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + サンプルpgpool.conf内のコメントを修正しました。(Bo Peng) + + + sr_check_periodのデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。 + + + パッチはhiroinによって作成され、Bo Pengによって修正されました。 + + + + + + + 拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii) + + + コミット240c668dが原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。 + このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。 + また、テストケースも追加しました。 + + + + + + + Coverityによって指摘されたメモリリークを修正しました。(Takuma Hoshiai) + + + + + + + 不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii) + + + 拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、Pgpool-IIがハングする可能性がありました。 + これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。 + + + このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。 + 終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。 + つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、 + Pgpool-IIはこのオプションを受け入れません。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + ドキュメント修正 + + + + + + 「上位サーバへの接続」ドキュメントを改善します。(Bo Peng) + + + + + + + 日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto) + + + + + + + PostgreSQLノードが2台の場合にpcp_promote_nodeを使用する際の注意点を追加しました。(Masaya Kawamoto) + + + PostgreSQLノードが2台であっても、follow_primary_commandを設定する必要があるケースがあります。 + + + + + + + + 回帰テスト修正 + + + + + + Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng) + + + Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。 + + + パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。 + + + + + + + リリース 4.3.9 diff --git a/doc.ja/src/sgml/release-4.4.sgml b/doc.ja/src/sgml/release-4.4.sgml index 17063e063..18915791e 100644 --- a/doc.ja/src/sgml/release-4.4.sgml +++ b/doc.ja/src/sgml/release-4.4.sgml @@ -1,6 +1,224 @@ + + リリース 4.4.7 + + リリース日 + 2024-05-16 + + + + 不具合修正 + + + + + -Werror=implicit-function-declarationオプションで発生するコンパイルエラーを修正しました。(Bo Peng) + + + 非推奨のldap関数のプロトタイプを含めるためにLDAP_DEPRECATEDを追加しました。 + また、autoconfチェックで不足していたヘッダーファイルを追加しました。 + + + パッチはVladimir Petkoによって作成されました。 + + + + + + + セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii) + + + フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + 初期化されていないメモリエラーを修正しました。(Tatsuo Ishii) + + + read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーがvalgrindによって報告されました。 + valgrindは、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 + pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + load_balance_modeがオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii) + + + load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。 + コミット 3f3c1656の修正によって導入された問題です。 + + + バグはEmond Papegaaijによって発見・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + 特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42によって報告されました。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + サンプルpgpool.conf内のコメントを修正しました。(Bo Peng) + + + sr_check_periodのデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。 + + + パッチはhiroinによって作成され、Bo Pengによって修正されました。 + + + + + + + 拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii) + + + コミット240c668dが原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。 + このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。 + また、テストケースも追加しました。 + + + + + + + Coverityによって指摘されたメモリリークを修正しました。(Takuma Hoshiai) + + + + + + + 不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii) + + + 拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、Pgpool-IIがハングする可能性がありました。 + これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。 + + + このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。 + 終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。 + つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、 + Pgpool-IIはこのオプションを受け入れません。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + ドキュメント修正 + + + + + + 「上位サーバへの接続」ドキュメントを改善します。(Bo Peng) + + + + + + + 日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto) + + + + + + + PostgreSQLノードが2台の場合にpcp_promote_nodeを使用する際の注意点を追加しました。(Masaya Kawamoto) + + + PostgreSQLノードが2台であっても、follow_primary_commandを設定する必要があるケースがあります。 + + + + + + + + 回帰テスト修正 + + + + + + Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng) + + + Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。 + + + パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。 + + + + + + + リリース 4.4.6 diff --git a/doc.ja/src/sgml/release-4.5.sgml b/doc.ja/src/sgml/release-4.5.sgml index 5008ea70e..0cae0b4f8 100644 --- a/doc.ja/src/sgml/release-4.5.sgml +++ b/doc.ja/src/sgml/release-4.5.sgml @@ -1,6 +1,248 @@ + + リリース 4.5.2 + + リリース日 + 2024-05-16 + + + + 不具合修正 + + + + + -Werror=implicit-function-declarationオプションで発生するコンパイルエラーを修正しました。(Bo Peng) + + + 非推奨のldap関数のプロトタイプを含めるためにLDAP_DEPRECATEDを追加しました。 + また、autoconfチェックで不足していたヘッダーファイルを追加しました。 + + + パッチはVladimir Petkoによって作成されました。 + + + + + + + セグメンテーション違反のさまざまな原因を修正しました。(Tatsuo Ishii) + + + フェイルオーバーが関与している特定のケースでは、Pgpool-IIとその子プロセスのセグメント違反が発生していました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + 初期化されていないメモリエラーを修正しました。(Tatsuo Ishii) + + + read_startup_packetの初期化されていないメモリエラーを含むいくつかのエラーがvalgrindによって報告されました。 + valgrindは、キャンセルまたはSSL要求の場合にpallocを使用してスタートアップパケット内のユーザー名にメモリを割り当て、その後、そのメモリがpstrdupによって使用されます。 + pallocによって割り当てられたメモリは未定義であったため、これをpalloc0に修正しました。 + + + この問題は、Emond Papegaaijによって報告・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + load_balance_modeがオフの場合に発生するエラー/ハングアップを修正しました。(Tatsuo Ishii) + + + load_balance_modeがオフで、プライマリノードIDが0でない場合には、BEGINなどクエリでエラー/ハングアップが発生していました。 + コミット 3f3c1656の修正によって導入された問題です。 + + + バグはEmond Papegaaijによって発見・分析されました。 + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + 特定のCFLAGSによるコンパイルエラーを修正しました。(Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42によって報告されました。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + サンプルpgpool.conf内のコメントを修正しました。(Bo Peng) + + + sr_check_periodのデフォルト値は10秒であるため、修正しました。コメント内のいくつかのタイポも修正しました。 + + + パッチはhiroinによって作成され、Bo Pengによって修正されました。 + + + + + + + configディレクトリ配下のファイルを削除しました。(Takuma Hoshiai) + + + autoconfによって生成されるMakefile.inなどを削除しました。 + src/config配下に.gitignoreを作成し、bisonとflexによって生成されるファイルを追加しました。 + + + + + + + 拡張クエリが終了していない場合でもリセットクエリを実行できるようにしました。(Tatsuo Ishii) + + + コミット240c668dが原因で、拡張クエリメッセージが終了していない場合、リセットクエリが失敗していました。 + このコミットでは、SimpleQuery()でリセットクエリを実行しているかどうかをチェックすることで、この問題を修正しました。 + また、テストケースも追加しました。 + + + + + + + Coverityによって指摘されたメモリリークを修正しました。(Takuma Hoshiai) + + + + + + + 不適切なプロトコルデータから保護するように修正しました。(Tatsuo Ishii) + + + 拡張クエリメッセージのシーケンスが終了する前にシンプルクエリメッセージが到着すると、Pgpool-IIがハングする可能性がありました。 + これは、シンプルクエリのセッションコンテキスト内のクエリコンテキストが、拡張クエリメッセージのクエリコンテキストによって上書きされたためです。 + + + このコミットでは、拡張クエリプロトコルメッセージが終了したかどうかをチェックするように実装しました。 + 終了していない場合は、FATALエラーを発生させます。このチェックによって検出された既知の例は、JDBCドライバーの「autosave=always」オプションです。 + つまり、このコミットの後、問題(拡張クエリメッセージプロトコルが終了する前にシンプルプロトコルメッセージを送信する)がJDBCドライバー側で修正されるまで、 + Pgpool-IIはこのオプションを受け入れません。 + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + ドキュメント修正 + + + + + + 「上位サーバへの接続」ドキュメントを改善します。(Bo Peng) + + + + + + + 日本語ドキュメントの言語クリーンアップしました。(Masaya Kawamoto) + + + + + + + PostgreSQLノードが2台の場合にpcp_promote_nodeを使用する際の注意点を追加しました。(Masaya Kawamoto) + + + PostgreSQLノードが2台であっても、follow_primary_commandを設定する必要があるケースがあります。 + + + + + + + + 回帰テスト修正 + + + + + 037.failover_sessionを修正しました。(Tatsuo Ishii) + + + テストスクリプトは終了前にshutdownallを実行するのを忘れていました。 + + + + + + + Java 21での非推奨警告を回避するために回帰テスト005.jdbcを修正しました。(Bo Peng) + + + Java 21での非推奨警告を回避するには、Runtime.exec(String)をRuntime.exec(String[])に置き換えました。 + + + パッチはVladimir Petkoによって作成され、Bo Pengによって修正されました。 + + + + + + + リリース 4.5.1 diff --git a/doc/src/sgml/release-4.1.sgml b/doc/src/sgml/release-4.1.sgml index 25812eb97..c3b2457df 100644 --- a/doc/src/sgml/release-4.1.sgml +++ b/doc/src/sgml/release-4.1.sgml @@ -1,6 +1,198 @@ + + Release 4.1.20 + + Release Date + 2024-05-16 + + + + Bug fixes + + + + + + Fix assorted causes of segmentation fault. (Tatsuo Ishii) + + + It is reported that pgpool and its child process segfault in certain + cases when failover involved. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + Fix uninitialized memory error. (Tatsuo Ishii) + + + 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. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii) + + + Commit 3f3c1656 + brought errors/hung up when load_balance_mode is off, primary node id + is not 0 and queries are BEGIN etc. + + + Bug found and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + Fix compile errors with certain CFLAGS. (Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42 + reported that with CFLAGS + -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing + gcc emits errors. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + Fix comments in sample pgpool.conf. (Bo Peng) + + + The default value for sr_check_period should be 10 seconds. + Also fixed some typos in comments. + + + Patch is created by hiroin and modified by Bo Peng. + + + + + + + Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii) + + + Commit 240c668d + 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. + + + + + + + Guard against inappropriate protocol data. (Tatsuo Ishii) + + + 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. + + + 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. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + Documents + + + + + + Enhance "Upstream server connection" documentation. (Bo Peng) + + + + + + + Language cleanup in Japanese document. (Masaya Kawamoto) + + + + + + + + Regression Tests + + + + + + Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng) + + + 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. + + + + + + + Release 4.1.19 diff --git a/doc/src/sgml/release-4.2.sgml b/doc/src/sgml/release-4.2.sgml index 01e3bd4d7..265e29213 100644 --- a/doc/src/sgml/release-4.2.sgml +++ b/doc/src/sgml/release-4.2.sgml @@ -1,6 +1,213 @@ + + Release 4.2.17 + + Release Date + 2024-05-16 + + + + Bug fixes + + + + + Fix compiler error with -Werror=implicit-function-declaration. (Bo Peng) + + + Add LDAP_DEPRECATED to include prototypes for deprecated ldap functions. + Also Add missing header files in autoconf check. + + + Patch is created by Vladimir Petko. + + + + + + + Fix assorted causes of segmentation fault. (Tatsuo Ishii) + + + It is reported that pgpool and its child process segfault in certain + cases when failover involved. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + Fix uninitialized memory error. (Tatsuo Ishii) + + + 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. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii) + + + Commit 3f3c1656 + brought errors/hung up when load_balance_mode is off, primary node id + is not 0 and queries are BEGIN etc. + + + Bug found and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + Fix compile errors with certain CFLAGS. (Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42 + reported that with CFLAGS + -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing + gcc emits errors. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + Fix comments in sample pgpool.conf. (Bo Peng) + + + The default value for sr_check_period should be 10 seconds. + Also fixed some typos in comments. + + + Patch is created by hiroin and modified by Bo Peng. + + + + + + + Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii) + + + Commit 240c668d + 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. + + + + + + + Guard against inappropriate protocol data. (Tatsuo Ishii) + + + 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. + + + 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. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + Documents + + + + + + Enhance "Upstream server connection" documentation. (Bo Peng) + + + + + + + Language cleanup in Japanese document. (Masaya Kawamoto) + + + + + + + + Regression Tests + + + + + + Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng) + + + 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. + + + + + + + Release 4.2.16 diff --git a/doc/src/sgml/release-4.3.sgml b/doc/src/sgml/release-4.3.sgml index 771846eec..4c89ca373 100644 --- a/doc/src/sgml/release-4.3.sgml +++ b/doc/src/sgml/release-4.3.sgml @@ -1,6 +1,237 @@ + + Release 4.3.10 + + Release Date + 2024-05-16 + + + + Bug fixes + + + + + Fix compiler error with -Werror=implicit-function-declaration. (Bo Peng) + + + Add LDAP_DEPRECATED to include prototypes for deprecated ldap functions. + Also Add missing header files in autoconf check. + + + Patch is created by Vladimir Petko. + + + + + + + Fix assorted causes of segmentation fault. (Tatsuo Ishii) + + + It is reported that pgpool and its child process segfault in certain + cases when failover involved. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + Fix uninitialized memory error. (Tatsuo Ishii) + + + 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. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii) + + + Commit 3f3c1656 + brought errors/hung up when load_balance_mode is off, primary node id + is not 0 and queries are BEGIN etc. + + + Bug found and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + Fix compile errors with certain CFLAGS. (Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42 + reported that with CFLAGS + -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing + gcc emits errors. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + Fix comments in sample pgpool.conf. (Bo Peng) + + + The default value for sr_check_period should be 10 seconds. + Also fixed some typos in comments. + + + Patch is created by hiroin and modified by Bo Peng. + + + + + + + Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii) + + + Commit 240c668d + 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. + + + + + + + Fix memory leak pointed out by Coverity. (Takuma Hoshiai) + + + + + + + Guard against inappropriate protocol data. (Tatsuo Ishii) + + + 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. + + + 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. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + Documents + + + + + + Enhance "Upstream server connection" documentation. (Bo Peng) + + + + + + + Language cleanup in Japanese document. (Masaya Kawamoto) + + + + + + + Add the note about using pcp_promote_node when two postgres nodes. (Masaya Kawamoto) + + + Even if there are two postgres nodes, there are cases that + follow_primary_command is required to be set. + + + + + + + + Regression Tests + + + + + + Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng) + + + 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. + + + + + + + Release 4.3.9 diff --git a/doc/src/sgml/release-4.4.sgml b/doc/src/sgml/release-4.4.sgml index 99948180a..fad067935 100644 --- a/doc/src/sgml/release-4.4.sgml +++ b/doc/src/sgml/release-4.4.sgml @@ -1,6 +1,237 @@ + + Release 4.4.7 + + Release Date + 2024-05-16 + + + + Bug fixes + + + + + Fix compiler error with -Werror=implicit-function-declaration. (Bo Peng) + + + Add LDAP_DEPRECATED to include prototypes for deprecated ldap functions. + Also Add missing header files in autoconf check. + + + Patch is created by Vladimir Petko. + + + + + + + Fix assorted causes of segmentation fault. (Tatsuo Ishii) + + + It is reported that pgpool and its child process segfault in certain + cases when failover involved. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + Fix uninitialized memory error. (Tatsuo Ishii) + + + 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. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii) + + + Commit 3f3c1656 + brought errors/hung up when load_balance_mode is off, primary node id + is not 0 and queries are BEGIN etc. + + + Bug found and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + Fix compile errors with certain CFLAGS. (Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42 + reported that with CFLAGS + -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing + gcc emits errors. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + Fix comments in sample pgpool.conf. (Bo Peng) + + + The default value for sr_check_period should be 10 seconds. + Also fixed some typos in comments. + + + Patch is created by hiroin and modified by Bo Peng. + + + + + + + Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii) + + + Commit 240c668d + 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. + + + + + + + Fix memory leak pointed out by Coverity. (Takuma Hoshiai) + + + + + + + Guard against inappropriate protocol data. (Tatsuo Ishii) + + + 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. + + + 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. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + Documents + + + + + + Enhance "Upstream server connection" documentation. (Bo Peng) + + + + + + + Language cleanup in Japanese document. (Masaya Kawamoto) + + + + + + + Add the note about using pcp_promote_node when two postgres nodes. (Masaya Kawamoto) + + + Even if there are two postgres nodes, there are cases that + follow_primary_command is required to be set. + + + + + + + + Regression Tests + + + + + + Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng) + + + 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. + + + + + + + Release 4.4.6 diff --git a/doc/src/sgml/release-4.5.sgml b/doc/src/sgml/release-4.5.sgml index a612d19b5..e6264adad 100644 --- a/doc/src/sgml/release-4.5.sgml +++ b/doc/src/sgml/release-4.5.sgml @@ -1,3 +1,259 @@ + + Release 4.5.2 + + Release Date + 2024-05-16 + + + + Bug fixes + + + + + Fix compiler error with -Werror=implicit-function-declaration. (Bo Peng) + + + Add LDAP_DEPRECATED to include prototypes for deprecated ldap functions. + Also Add missing header files in autoconf check. + + + Patch is created by Vladimir Petko. + + + + + + + Fix assorted causes of segmentation fault. (Tatsuo Ishii) + + + It is reported that pgpool and its child process segfault in certain + cases when failover involved. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009131.html + + + + + + + Fix uninitialized memory error. (Tatsuo Ishii) + + + 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. + + + Problem is reported and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-April/009126.html + + + + + + + Fix errors/hung up when load_balance_mode is off. (Tatsuo Ishii) + + + Commit 3f3c1656 + brought errors/hung up when load_balance_mode is off, primary node id + is not 0 and queries are BEGIN etc. + + + Bug found and analyzed by Emond Papegaaij. + Discussion: https://www.pgpool.net/pipermail/pgpool-general/2024-March/009113.html + + + + + + + Fix compile errors with certain CFLAGS. (Tatsuo Ishii) + + + https://github.com/pgpool/pgpool2/issues/42 + reported that with CFLAGS + -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing + gcc emits errors. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-March/004443.html + + + + + + + Fix comments in sample pgpool.conf. (Bo Peng) + + + The default value for sr_check_period should be 10 seconds. + Also fixed some typos in comments. + + + Patch is created by hiroin and modified by Bo Peng. + + + + + + + Remove a file under config directory. (Takuma Hoshiai) + + + Remove Makefile.in etc. generated by autoconf. + Create .gitignore under src/config and add generated files by + bison and flex. + + + + + + + Allow reset queries to run even if extended queries do not end. (Tatsuo Ishii) + + + Commit 240c668d + 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. + + + + + + + Fix memory leak pointed out by Coverity. (Takuma Hoshiai) + + + + + + + Guard against inappropriate protocol data. (Tatsuo Ishii) + + + 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. + + + 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. + + + Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2024-February/004428.html + + + + + + + + Documents + + + + + + Enhance "Upstream server connection" documentation. (Bo Peng) + + + + + + + Language cleanup in Japanese document. (Masaya Kawamoto) + + + + + + + Add the note about using pcp_promote_node when two postgres nodes. (Masaya Kawamoto) + + + Even if there are two postgres nodes, there are cases that + follow_primary_command is required to be set. + + + + + + + + Regression Tests + + + + + Fix 037.failover_session. (Tatsuo Ishii) + + + The test script forgot to execute shutdownall before exiting. + + + + + + + Fixed regression test 005.jdbc to avoid Java 21 deprecation warnings. (Bo Peng) + + + 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. + + + + + + + Release 4.5.1 -- 2.39.5