From: Taiki Koshino Date: Wed, 10 Dec 2025 06:59:46 +0000 (+0900) Subject: Prepare Release Note X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=HEAD;p=pgpool2.git Prepare Release Note --- diff --git a/doc.ja/src/sgml/release-4.3.sgml b/doc.ja/src/sgml/release-4.3.sgml index a46b026ba..ac791c940 100644 --- a/doc.ja/src/sgml/release-4.3.sgml +++ b/doc.ja/src/sgml/release-4.3.sgml @@ -1,6 +1,71 @@ + + リリース 4.3.18 + + リリース日 + 2025-12-xx + + + + 変更点 + + + + + pgpool_setupで非推奨の「egrep」の代わりに「grep -E」を使用するようにしました。(Bo Peng) + + + 新しいGNUのgrepバージョンでの廃止警告を回避するために、「egrep」を「grep -E」に置き換えました。 + + + + + + + 不具合修正 + + + + + show pool_statusのバッファオーバーフローエラーを修正しました。(Tatsuo Ishii) + + + SHOW POOL_STATUS、pgpool show、および pcp_pool_statusコマンドでバッファオーバーフローが発生する問題を修正しました。 + 問題の原因は、backend_flagがALWAYS_PRIMARYに設定されている場合に、pool_flag_to_str()関数がbackend_flagを文字列化する際に静的バッファの末尾を越えて書き込んでしまうことでした。 + + + この問題はzam bakによって報告され、Bo Pengによってよって分析されました。 + + + ディスカッション: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + 「show pool_status」に表示されるmemqcache_stats_start_timeの出力を修正しました。(Tatsuo Ishii) + + + get_config()がctime()を使って時刻を文字列化していましたが、ctime()の戻り値の末尾には改行が含まれることを考慮していませんでした。 + その結果、memqcache_stats_start_timeの行に余計な改行が入り、さらに次の行が空欄として表示されてしまう問題が発生していました。 + + + ディスカッション: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + リリース 4.3.17 diff --git a/doc.ja/src/sgml/release-4.4.sgml b/doc.ja/src/sgml/release-4.4.sgml index 2726a332d..a359e9e6b 100644 --- a/doc.ja/src/sgml/release-4.4.sgml +++ b/doc.ja/src/sgml/release-4.4.sgml @@ -1,6 +1,71 @@ + + リリース 4.4.15 + + リリース日 + 2025-12-xx + + + + 変更点 + + + + + pgpool_setupで非推奨の「egrep」の代わりに「grep -E」を使用するようにしました。(Bo Peng) + + + 新しいGNUのgrepバージョンでの廃止警告を回避するために、「egrep」を「grep -E」に置き換えました。 + + + + + + + 不具合修正 + + + + + show pool_statusのバッファオーバーフローエラーを修正しました。(Tatsuo Ishii) + + + SHOW POOL_STATUS、pgpool show、および pcp_pool_statusコマンドでバッファオーバーフローが発生する問題を修正しました。 + 問題の原因は、backend_flagがALWAYS_PRIMARYに設定されている場合に、pool_flag_to_str()関数がbackend_flagを文字列化する際に静的バッファの末尾を越えて書き込んでしまうことでした。 + + + この問題はzam bakによって報告され、Bo Pengによってよって分析されました。 + + + ディスカッション: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + 「show pool_status」に表示されるmemqcache_stats_start_timeの出力を修正しました。(Tatsuo Ishii) + + + get_config()がctime()を使って時刻を文字列化していましたが、ctime()の戻り値の末尾には改行が含まれることを考慮していませんでした。 + その結果、memqcache_stats_start_timeの行に余計な改行が入り、さらに次の行が空欄として表示されてしまう問題が発生していました。 + + + ディスカッション: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + リリース 4.4.14 diff --git a/doc.ja/src/sgml/release-4.5.sgml b/doc.ja/src/sgml/release-4.5.sgml index 66d758264..341ac6c8a 100644 --- a/doc.ja/src/sgml/release-4.5.sgml +++ b/doc.ja/src/sgml/release-4.5.sgml @@ -1,6 +1,90 @@ + + リリース 4.5.10 + + リリース日 + 2025-12-xx + + + + 変更点 + + + + + pgpool_setupで非推奨の「egrep」の代わりに「grep -E」を使用するようにしました。(Bo Peng) + + + 新しいGNUのgrepバージョンでの廃止警告を回避するために、「egrep」を「grep -E」に置き換えました。 + + + + + + + 不具合修正 + + + + + show pool_statusのバッファオーバーフローエラーを修正しました。(Tatsuo Ishii) + + + SHOW POOL_STATUS、pgpool show、および pcp_pool_statusコマンドでバッファオーバーフローが発生する問題を修正しました。 + 問題の原因は、backend_flagがALWAYS_PRIMARYに設定されている場合に、pool_flag_to_str()関数がbackend_flagを文字列化する際に静的バッファの末尾を越えて書き込んでしまうことでした。 + + + この問題はzam bakによって報告され、Bo Pengによってよって分析されました。 + + + ディスカッション: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + 「show pool_status」に表示されるmemqcache_stats_start_timeの出力を修正しました。(Tatsuo Ishii) + + + get_config()がctime()を使って時刻を文字列化していましたが、ctime()の戻り値の末尾には改行が含まれることを考慮していませんでした。 + その結果、memqcache_stats_start_timeの行に余計な改行が入り、さらに次の行が空欄として表示されてしまう問題が発生していました。 + + + ディスカッション: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + 回帰テスト修正 + + + + + 037.failover_sessionのテストを安定させました。(Tatsuo Ishii) + + + 特定の環境では、test1の後にshutdownallが終了しないことがありました。 + これは、テスト中のフェイルオーバー処理が、shutdownallからの終了シグナルを受け取れるようにしているシグナルハンドラの復元に失敗していることが原因と考えられます。 + shutdownall の前にsleep 5を追加することで、この問題が緩和されることを確認しました。 + + + + + + リリース 4.5.9 diff --git a/doc.ja/src/sgml/release-4.6.sgml b/doc.ja/src/sgml/release-4.6.sgml index be92983ec..6316c5d1c 100644 --- a/doc.ja/src/sgml/release-4.6.sgml +++ b/doc.ja/src/sgml/release-4.6.sgml @@ -1,3 +1,87 @@ + + リリース 4.6.5 + + リリース日 + 2025-12-xx + + + + 変更点 + + + + + pgpool_setupで非推奨の「egrep」の代わりに「grep -E」を使用するようにしました。(Bo Peng) + + + 新しいGNUのgrepバージョンでの廃止警告を回避するために、「egrep」を「grep -E」に置き換えました。 + + + + + + + 不具合修正 + + + + + show pool_statusのバッファオーバーフローエラーを修正しました。(Tatsuo Ishii) + + + SHOW POOL_STATUS、pgpool show、および pcp_pool_statusコマンドでバッファオーバーフローが発生する問題を修正しました。 + 問題の原因は、backend_flagがALWAYS_PRIMARYに設定されている場合に、pool_flag_to_str()関数がbackend_flagを文字列化する際に静的バッファの末尾を越えて書き込んでしまうことでした。 + + + この問題はzam bakによって報告され、Bo Pengによってよって分析されました。 + + + ディスカッション: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + 「show pool_status」に表示されるmemqcache_stats_start_timeの出力を修正しました。(Tatsuo Ishii) + + + get_config()がctime()を使って時刻を文字列化していましたが、ctime()の戻り値の末尾には改行が含まれることを考慮していませんでした。 + その結果、memqcache_stats_start_timeの行に余計な改行が入り、さらに次の行が空欄として表示されてしまう問題が発生していました。 + + + ディスカッション: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + 回帰テスト修正 + + + + + 037.failover_sessionのテストを安定させました。(Tatsuo Ishii) + + + 特定の環境では、test1の後にshutdownallが終了しないことがありました。 + これは、テスト中のフェイルオーバー処理が、shutdownallからの終了シグナルを受け取れるようにしているシグナルハンドラの復元に失敗していることが原因と考えられます。 + shutdownall の前にsleep 5を追加することで、この問題が緩和されることを確認しました。 + + + + + + リリース 4.6.4 diff --git a/doc/src/sgml/release-4.3.sgml b/doc/src/sgml/release-4.3.sgml index bd0e3ba5d..9afa20a7d 100644 --- a/doc/src/sgml/release-4.3.sgml +++ b/doc/src/sgml/release-4.3.sgml @@ -1,6 +1,76 @@ + + Release 4.3.18 + + Release Date + 2025-12-xx + + + + Changes + + + + + Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng) + + + Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions. + + + + + + + Bug fixes + + + + + Fix buffer overflow error in show pool_status. (Tatsuo Ishii) + + + "show pool_status", "pgpool show" and pcp_pool_status could cause a + buffer overflow error. If backend_flag is set to "ALWAYS_PRIMARY", + pool_flag_to_str(), which is responsible to produce printable format + of backend_flag, wrote data past to the end of static buffer. + + + Problem reported by zam bak and reviewed by Bo Peng. + + + Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii) + + + get_config() uses ctime() to generate printable form of + memqcache_stats_start_time. But it did not take into account that + ctime() adds newline at the end of result. As a result, not only the + output of memqcache_stats_start_time was with unnecessary newline but + next row printed empty items. + + + Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + Release 4.3.17 diff --git a/doc/src/sgml/release-4.4.sgml b/doc/src/sgml/release-4.4.sgml index f198ae38e..0ae31e51c 100644 --- a/doc/src/sgml/release-4.4.sgml +++ b/doc/src/sgml/release-4.4.sgml @@ -1,6 +1,76 @@ + + Release 4.4.15 + + Release Date + 2025-12-xx + + + + Changes + + + + + Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng) + + + Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions. + + + + + + + Bug fixes + + + + + Fix buffer overflow error in show pool_status. (Tatsuo Ishii) + + + "show pool_status", "pgpool show" and pcp_pool_status could cause a + buffer overflow error. If backend_flag is set to "ALWAYS_PRIMARY", + pool_flag_to_str(), which is responsible to produce printable format + of backend_flag, wrote data past to the end of static buffer. + + + Problem reported by zam bak and reviewed by Bo Peng. + + + Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii) + + + get_config() uses ctime() to generate printable form of + memqcache_stats_start_time. But it did not take into account that + ctime() adds newline at the end of result. As a result, not only the + output of memqcache_stats_start_time was with unnecessary newline but + next row printed empty items. + + + Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + Release 4.4.14 diff --git a/doc/src/sgml/release-4.5.sgml b/doc/src/sgml/release-4.5.sgml index a0422de73..291514519 100644 --- a/doc/src/sgml/release-4.5.sgml +++ b/doc/src/sgml/release-4.5.sgml @@ -1,3 +1,94 @@ + + Release 4.5.10 + + Release Date + 2025-12-xx + + + + Changes + + + + + Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng) + + + Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions. + + + + + + + Bug fixes + + + + + Fix buffer overflow error in show pool_status. (Tatsuo Ishii) + + + "show pool_status", "pgpool show" and pcp_pool_status could cause a + buffer overflow error. If backend_flag is set to "ALWAYS_PRIMARY", + pool_flag_to_str(), which is responsible to produce printable format + of backend_flag, wrote data past to the end of static buffer. + + + Problem reported by zam bak and reviewed by Bo Peng. + + + Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii) + + + get_config() uses ctime() to generate printable form of + memqcache_stats_start_time. But it did not take into account that + ctime() adds newline at the end of result. As a result, not only the + output of memqcache_stats_start_time was with unnecessary newline but + next row printed empty items. + + + Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + Regression Tests + + + + + Test: stabilize 037.failover_session. (Tatsuo Ishii) + + + On some platform (in my case Rocky Linux 10 running on VitualBox) + fails to finish shutdownall after test1. This could be caused by the + failover in the test to fail to restore the signal handler which + should accept shutdown signal from shutdownall. Adding "sleep 5" + before shutdownall seems to mitigate the problem. + + + + + + Release 4.5.9 diff --git a/doc/src/sgml/release-4.6.sgml b/doc/src/sgml/release-4.6.sgml index 8fe3dc8a7..2fc5a08dd 100644 --- a/doc/src/sgml/release-4.6.sgml +++ b/doc/src/sgml/release-4.6.sgml @@ -1,3 +1,94 @@ + + Release 4.6.5 + + Release Date + 2025-12-xx + + + + Changes + + + + + Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng) + + + Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions. + + + + + + + Bug fixes + + + + + Fix buffer overflow error in show pool_status. (Tatsuo Ishii) + + + "show pool_status", "pgpool show" and pcp_pool_status could cause a + buffer overflow error. If backend_flag is set to "ALWAYS_PRIMARY", + pool_flag_to_str(), which is responsible to produce printable format + of backend_flag, wrote data past to the end of static buffer. + + + Problem reported by zam bak and reviewed by Bo Peng. + + + Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii) + + + get_config() uses ctime() to generate printable form of + memqcache_stats_start_time. But it did not take into account that + ctime() adds newline at the end of result. As a result, not only the + output of memqcache_stats_start_time was with unnecessary newline but + next row printed empty items. + + + Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS + + + + + + + Regression Tests + + + + + Test: stabilize 037.failover_session. (Tatsuo Ishii) + + + On some platform (in my case Rocky Linux 10 running on VitualBox) + fails to finish shutdownall after test1. This could be caused by the + failover in the test to fail to restore the signal handler which + should accept shutdown signal from shutdownall. Adding "sleep 5" + before shutdownall seems to mitigate the problem. + + + + + + Release 4.6.4