<!-- doc/src/sgml/release-4.3.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-4-3-18">
+ <title>リリース 4.3.18</title>
+ <note>
+ <title>リリース日</title>
+ <simpara>2025-12-xx</simpara>
+ </note>
+
+ <sect2>
+ <title>変更点</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [5bd10177c]
+ -->
+ <para>
+ pgpool_setupで非推奨の「egrep」の代わりに「grep -E」を使用するようにしました。(Bo Peng)
+ </para>
+ <para>
+ 新しいGNUのgrepバージョンでの廃止警告を回避するために、「egrep」を「grep -E」に置き換えました。
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>不具合修正</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [8deccc15e]
+ -->
+ <para>
+ show pool_statusのバッファオーバーフローエラーを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ SHOW POOL_STATUS、pgpool show、および pcp_pool_statusコマンドでバッファオーバーフローが発生する問題を修正しました。
+ 問題の原因は、backend_flagがALWAYS_PRIMARYに設定されている場合に、pool_flag_to_str()関数がbackend_flagを文字列化する際に静的バッファの末尾を越えて書き込んでしまうことでした。
+ </para>
+ <para>
+ この問題はzam bakによって報告され、Bo Pengによってよって分析されました。
+ </para>
+ <para>
+ ディスカッション: <ulink url="https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2025-12-02 [c8865c703]
+ -->
+ <para>
+ 「show pool_status」に表示されるmemqcache_stats_start_timeの出力を修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ get_config()がctime()を使って時刻を文字列化していましたが、ctime()の戻り値の末尾には改行が含まれることを考慮していませんでした。
+ その結果、memqcache_stats_start_timeの行に余計な改行が入り、さらに次の行が空欄として表示されてしまう問題が発生していました。
+ </para>
+ <para>
+ ディスカッション: <ulink url="https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-4-3-17">
<title>リリース 4.3.17</title>
<note>
<!-- doc/src/sgml/release-4.4.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-4-4-15">
+ <title>リリース 4.4.15</title>
+ <note>
+ <title>リリース日</title>
+ <simpara>2025-12-xx</simpara>
+ </note>
+
+ <sect2>
+ <title>変更点</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [5bd10177c]
+ -->
+ <para>
+ pgpool_setupで非推奨の「egrep」の代わりに「grep -E」を使用するようにしました。(Bo Peng)
+ </para>
+ <para>
+ 新しいGNUのgrepバージョンでの廃止警告を回避するために、「egrep」を「grep -E」に置き換えました。
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>不具合修正</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [8deccc15e]
+ -->
+ <para>
+ show pool_statusのバッファオーバーフローエラーを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ SHOW POOL_STATUS、pgpool show、および pcp_pool_statusコマンドでバッファオーバーフローが発生する問題を修正しました。
+ 問題の原因は、backend_flagがALWAYS_PRIMARYに設定されている場合に、pool_flag_to_str()関数がbackend_flagを文字列化する際に静的バッファの末尾を越えて書き込んでしまうことでした。
+ </para>
+ <para>
+ この問題はzam bakによって報告され、Bo Pengによってよって分析されました。
+ </para>
+ <para>
+ ディスカッション: <ulink url="https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2025-12-02 [c8865c703]
+ -->
+ <para>
+ 「show pool_status」に表示されるmemqcache_stats_start_timeの出力を修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ get_config()がctime()を使って時刻を文字列化していましたが、ctime()の戻り値の末尾には改行が含まれることを考慮していませんでした。
+ その結果、memqcache_stats_start_timeの行に余計な改行が入り、さらに次の行が空欄として表示されてしまう問題が発生していました。
+ </para>
+ <para>
+ ディスカッション: <ulink url="https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-4-4-14">
<title>リリース 4.4.14</title>
<note>
<!-- doc/src/sgml/release-4.5.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-4-5-10">
+ <title>リリース 4.5.10</title>
+ <note>
+ <title>リリース日</title>
+ <simpara>2025-12-xx</simpara>
+ </note>
+
+ <sect2>
+ <title>変更点</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [5bd10177c]
+ -->
+ <para>
+ pgpool_setupで非推奨の「egrep」の代わりに「grep -E」を使用するようにしました。(Bo Peng)
+ </para>
+ <para>
+ 新しいGNUのgrepバージョンでの廃止警告を回避するために、「egrep」を「grep -E」に置き換えました。
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>不具合修正</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [8deccc15e]
+ -->
+ <para>
+ show pool_statusのバッファオーバーフローエラーを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ SHOW POOL_STATUS、pgpool show、および pcp_pool_statusコマンドでバッファオーバーフローが発生する問題を修正しました。
+ 問題の原因は、backend_flagがALWAYS_PRIMARYに設定されている場合に、pool_flag_to_str()関数がbackend_flagを文字列化する際に静的バッファの末尾を越えて書き込んでしまうことでした。
+ </para>
+ <para>
+ この問題はzam bakによって報告され、Bo Pengによってよって分析されました。
+ </para>
+ <para>
+ ディスカッション: <ulink url="https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2025-12-02 [c8865c703]
+ -->
+ <para>
+ 「show pool_status」に表示されるmemqcache_stats_start_timeの出力を修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ get_config()がctime()を使って時刻を文字列化していましたが、ctime()の戻り値の末尾には改行が含まれることを考慮していませんでした。
+ その結果、memqcache_stats_start_timeの行に余計な改行が入り、さらに次の行が空欄として表示されてしまう問題が発生していました。
+ </para>
+ <para>
+ ディスカッション: <ulink url="https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>回帰テスト修正</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-11-25 [0c45a1e01]
+ -->
+ <para>
+ 037.failover_sessionのテストを安定させました。(Tatsuo Ishii)
+ </para>
+ <para>
+ 特定の環境では、test1の後にshutdownallが終了しないことがありました。
+ これは、テスト中のフェイルオーバー処理が、shutdownallからの終了シグナルを受け取れるようにしているシグナルハンドラの復元に失敗していることが原因と考えられます。
+ shutdownall の前にsleep 5を追加することで、この問題が緩和されることを確認しました。
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-4-5-9">
<title>リリース 4.5.9</title>
<note>
+<sect1 id="release-4-6-5">
+ <title>リリース 4.6.5</title>
+ <note>
+ <title>リリース日</title>
+ <simpara>2025-12-xx</simpara>
+ </note>
+
+ <sect2>
+ <title>変更点</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [5bd10177c]
+ -->
+ <para>
+ pgpool_setupで非推奨の「egrep」の代わりに「grep -E」を使用するようにしました。(Bo Peng)
+ </para>
+ <para>
+ 新しいGNUのgrepバージョンでの廃止警告を回避するために、「egrep」を「grep -E」に置き換えました。
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>不具合修正</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [8deccc15e]
+ -->
+ <para>
+ show pool_statusのバッファオーバーフローエラーを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ SHOW POOL_STATUS、pgpool show、および pcp_pool_statusコマンドでバッファオーバーフローが発生する問題を修正しました。
+ 問題の原因は、backend_flagがALWAYS_PRIMARYに設定されている場合に、pool_flag_to_str()関数がbackend_flagを文字列化する際に静的バッファの末尾を越えて書き込んでしまうことでした。
+ </para>
+ <para>
+ この問題はzam bakによって報告され、Bo Pengによってよって分析されました。
+ </para>
+ <para>
+ ディスカッション: <ulink url="https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2025-12-02 [c8865c703]
+ -->
+ <para>
+ 「show pool_status」に表示されるmemqcache_stats_start_timeの出力を修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ get_config()がctime()を使って時刻を文字列化していましたが、ctime()の戻り値の末尾には改行が含まれることを考慮していませんでした。
+ その結果、memqcache_stats_start_timeの行に余計な改行が入り、さらに次の行が空欄として表示されてしまう問題が発生していました。
+ </para>
+ <para>
+ ディスカッション: <ulink url="https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>回帰テスト修正</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-11-25 [0c45a1e01]
+ -->
+ <para>
+ 037.failover_sessionのテストを安定させました。(Tatsuo Ishii)
+ </para>
+ <para>
+ 特定の環境では、test1の後にshutdownallが終了しないことがありました。
+ これは、テスト中のフェイルオーバー処理が、shutdownallからの終了シグナルを受け取れるようにしているシグナルハンドラの復元に失敗していることが原因と考えられます。
+ shutdownall の前にsleep 5を追加することで、この問題が緩和されることを確認しました。
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-4-6-4">
<title>リリース 4.6.4</title>
<note>
<!-- doc/src/sgml/release-4.3.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-4-3-18">
+ <title>Release 4.3.18</title>
+ <note>
+ <title>Release Date</title>
+ <simpara>2025-12-xx</simpara>
+ </note>
+
+ <sect2>
+ <title>Changes</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [5bd10177c]
+ -->
+ <para>
+ Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng)
+ </para>
+ <para>
+ Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>Bug fixes</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [8deccc15e]
+ -->
+ <para>
+ Fix buffer overflow error in show pool_status. (Tatsuo Ishii)
+ </para>
+ <para>
+ "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.
+ </para>
+ <para>
+ Problem reported by zam bak and reviewed by Bo Peng.
+ </para>
+ <para>
+ Discussion: <ulink url="https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2025-12-02 [c8865c703]
+ -->
+ <para>
+ Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii)
+ </para>
+ <para>
+ 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.
+ </para>
+ <para>
+ Discussion: <ulink url="https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-4-3-17">
<title>Release 4.3.17</title>
<note>
<!-- doc/src/sgml/release-4.4.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-4-4-15">
+ <title>Release 4.4.15</title>
+ <note>
+ <title>Release Date</title>
+ <simpara>2025-12-xx</simpara>
+ </note>
+
+ <sect2>
+ <title>Changes</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [5bd10177c]
+ -->
+ <para>
+ Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng)
+ </para>
+ <para>
+ Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>Bug fixes</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [8deccc15e]
+ -->
+ <para>
+ Fix buffer overflow error in show pool_status. (Tatsuo Ishii)
+ </para>
+ <para>
+ "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.
+ </para>
+ <para>
+ Problem reported by zam bak and reviewed by Bo Peng.
+ </para>
+ <para>
+ Discussion: <ulink url="https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2025-12-02 [c8865c703]
+ -->
+ <para>
+ Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii)
+ </para>
+ <para>
+ 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.
+ </para>
+ <para>
+ Discussion: <ulink url="https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-4-4-14">
<title>Release 4.4.14</title>
<note>
+<sect1 id="release-4-5-10">
+ <title>Release 4.5.10</title>
+ <note>
+ <title>Release Date</title>
+ <simpara>2025-12-xx</simpara>
+ </note>
+
+ <sect2>
+ <title>Changes</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [5bd10177c]
+ -->
+ <para>
+ Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng)
+ </para>
+ <para>
+ Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>Bug fixes</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [8deccc15e]
+ -->
+ <para>
+ Fix buffer overflow error in show pool_status. (Tatsuo Ishii)
+ </para>
+ <para>
+ "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.
+ </para>
+ <para>
+ Problem reported by zam bak and reviewed by Bo Peng.
+ </para>
+ <para>
+ Discussion: <ulink url="https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2025-12-02 [c8865c703]
+ -->
+ <para>
+ Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii)
+ </para>
+ <para>
+ 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.
+ </para>
+ <para>
+ Discussion: <ulink url="https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>Regression Tests</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-11-25 [0c45a1e01]
+ -->
+ <para>
+ Test: stabilize 037.failover_session. (Tatsuo Ishii)
+ </para>
+ <para>
+ 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.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-4-5-9">
<title>Release 4.5.9</title>
<note>
+<sect1 id="release-4-6-5">
+ <title>Release 4.6.5</title>
+ <note>
+ <title>Release Date</title>
+ <simpara>2025-12-xx</simpara>
+ </note>
+
+ <sect2>
+ <title>Changes</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [5bd10177c]
+ -->
+ <para>
+ Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng)
+ </para>
+ <para>
+ Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>Bug fixes</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-12-08 [8deccc15e]
+ -->
+ <para>
+ Fix buffer overflow error in show pool_status. (Tatsuo Ishii)
+ </para>
+ <para>
+ "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.
+ </para>
+ <para>
+ Problem reported by zam bak and reviewed by Bo Peng.
+ </para>
+ <para>
+ Discussion: <ulink url="https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2025-12-02 [c8865c703]
+ -->
+ <para>
+ Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii)
+ </para>
+ <para>
+ 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.
+ </para>
+ <para>
+ Discussion: <ulink url="https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org">Re: "buffer overflow detected" when running SHOW POOL_STATUS</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>Regression Tests</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2025-11-25 [0c45a1e01]
+ -->
+ <para>
+ Test: stabilize 037.failover_session. (Tatsuo Ishii)
+ </para>
+ <para>
+ 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.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-4-6-4">
<title>Release 4.6.4</title>
<note>