pgpool2.git / summary / log / commit / refs
commit ddd45474bce37af841a9d3d41bca49eab945b1a4
Author: pengbo <pengbo@sraoss.co.jp>
Date: Mon Sep 04 07:29:53 2017 +0000
Add release-notes of 3.6.6 - 3.2.2.
doc.ja/src/sgml/examples.sgml | 4 +-
doc.ja/src/sgml/release-3.2.sgml | 74 +++++++++++
doc.ja/src/sgml/release-3.3.sgml | 82 ++++++++++++
doc.ja/src/sgml/release-3.4.sgml | 92 +++++++++++++
doc.ja/src/sgml/release-3.5.sgml | 251 +++++++++++++++++++++++++++++++++++
doc.ja/src/sgml/release-3.6.sgml | 262 ++++++++++++++++++++++++++++++++++++-
doc/src/sgml/release-3.2.sgml | 75 +++++++++++
doc/src/sgml/release-3.3.sgml | 83 ++++++++++++
doc/src/sgml/release-3.4.sgml | 95 ++++++++++++++
doc/src/sgml/release-3.5.sgml | 264 +++++++++++++++++++++++++++++++++++++
doc/src/sgml/release-3.6.sgml | 276 +++++++++++++++++++++++++++++++++++++++
11 files changed, 1555 insertions(+), 3 deletions(-)
diff --git a/doc.ja/src/sgml/examples.sgml b/doc.ja/src/sgml/examples.sgml
index 2591d888c..ce18c645f 100644
--- a/doc.ja/src/sgml/examples.sgml
+++ b/doc.ja/src/sgml/examples.sgml
@@ -758,7 +758,7 @@ other_wd_port0 = 9000
<!--
First start the <productname>Pgpool-II</productname> on Active server.
-->
-最初に、Active サーバで<productname>Pgpool-II</>を起動します。
+最初に、Active サーバで<productname>Pgpool-II</productname>を起動します。
<programlisting>
[user@osspc16]$ su -
[root@osspc16]# {installed_dir}/bin/pgpool -n -f {installed_dir}/etc/pgpool.conf > pgpool.log 2>&1
@@ -1279,7 +1279,7 @@ sr_check_password = 'pgpool'
health_check_period = 5
# Health check period
# Disabled (0) by default
-health_check_timeout = 0
+health_check_timeout = 20
# Health check timeout
# 0 means no timeout
health_check_user = 'pgpool'
diff --git a/doc.ja/src/sgml/release-3.2.sgml b/doc.ja/src/sgml/release-3.2.sgml
index 608023e5b..2f8cb3e4b 100644
--- a/doc.ja/src/sgml/release-3.2.sgml
+++ b/doc.ja/src/sgml/release-3.2.sgml
@@ -1,6 +1,80 @@
<!-- doc/src/sgml/release-3.2.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-2-22">
+ <title>リリース 3.2.22</title>
+
+ <note>
+ <title>リリース日</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>不具合修正</title>
+
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-08-24 [cb4d863]
+ -->
+ <para>
+Doc: ロードバランスに関するドキュメントを修正しました。(Yugo Nagata)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [2cd5bd3]
+ -->
+ <para>
+<function>pool_unread()</function> の不具合を修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+<function>pool_unread()</function> が<function>realloc()</function>を呼び出すときに、バッファサイズが更新されませんでした。これにより、メモリ破損や予期しないデータの読み取りが発生する可能性がありました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [3f9806b]
+ -->
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる不具合を修正しました。 (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる可能性がありました。原因は、<varname>POLL_CONNECTIO</varname>構造体の<varname>db_node_id</varname>メンバがこのプロセスで初期化されていなかったからです (子プロセスでは適切に初期化されていました)。
+ </para>
+ <para>
+この問題を解決するには、ノード ID をセットする関数 <function>pool_set_db_node_id()</function>を追加し、<function>make_persistent_db_connection()</function>内で呼び出すように修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [ea6ea69]
+ -->
+ <para>
+<command>SET</command>コマンド発行時の不要なトランザクションの開始を修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [576312c]
+ -->
+ <para>
+ヘルスチェックアラームを無効にした状態で <function>Failover()</function>関数を実行するように修正しました。(Muhammad Usama)
+ </para>
+ <para>
+詳細は <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> をご参照ください。
+ </para>
+ </listitem>
+
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-3-2-21">
<title>リリース 3.2.21</title>
diff --git a/doc.ja/src/sgml/release-3.3.sgml b/doc.ja/src/sgml/release-3.3.sgml
index 5dfb0087d..335c7bd5c 100644
--- a/doc.ja/src/sgml/release-3.3.sgml
+++ b/doc.ja/src/sgml/release-3.3.sgml
@@ -1,6 +1,88 @@
<!-- doc/src/sgml/release-3.3.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-3-17">
+ <title>リリース 3.3.17</title>
+
+ <note>
+ <title>リリース日</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>不具合修正</title>
+
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2017-08-24 [119b38a]
+ -->
+ <para>
+Doc: ロードバランスに関するドキュメントを修正しました。(Yugo Nagata)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [c84ce4e]
+ -->
+ <para>
+<function>pool_unread()</function> の不具合を修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+<function>pool_unread()</function> が<function>realloc()</function>を呼び出すときに、バッファサイズが更新されませんでした。これにより、メモリ破損や予期しないデータの読み取りが発生する可能性がありました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [8ba5091]
+ -->
+ <para>
+Test: テスト 005.jdbc の Java プログラムを修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [626ef81]
+ -->
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる不具合を修正しました。 (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる可能性がありました。原因は、<varname>POLL_CONNECTIO</varname>構造体の<varname>db_node_id</varname>メンバがこのプロセスで初期化されていなかったからです (子プロセスでは適切に初期化されていました)。
+ </para>
+ <para>
+この問題を解決するには、ノード ID をセットする関数 <function>pool_set_db_node_id()</function>を追加し、<function>make_persistent_db_connection()</function>内で呼び出すように修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [e77c206]
+ -->
+ <para>
+<command>SET</command>コマンド発行時の不要なトランザクションの開始を修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [551b0b1]
+ -->
+ <para>
+ヘルスチェックアラームを無効にした状態で <function>Failover()</function>関数を実行するように修正しました。(Muhammad Usama)
+ </para>
+ <para>
+詳細は <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> をご参照ください。
+ </para>
+ </listitem>
+
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-3-3-16">
<title>リリース 3.3.16</title>
diff --git a/doc.ja/src/sgml/release-3.4.sgml b/doc.ja/src/sgml/release-3.4.sgml
index 84f7430c9..2603d9203 100644
--- a/doc.ja/src/sgml/release-3.4.sgml
+++ b/doc.ja/src/sgml/release-3.4.sgml
@@ -1,6 +1,98 @@
<!-- doc/src/sgml/release-3.4.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-4-13">
+ <title>リリース 3.4.13</title>
+
+ <note>
+ <title>リリース日</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>不具合修正</title>
+
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-08-24 [4bae117]
+ -->
+ <para>
+Doc: ロードバランスに関するドキュメントを修正しました。(Yugo Nagata)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [d29d0eb]
+ -->
+ <para>
+<function>pool_unread()</function> の不具合を修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+<function>pool_unread()</function> が<function>realloc()</function>を呼び出すときに、バッファサイズが更新されませんでした。これにより、メモリ破損や予期しないデータの読み取りが発生する可能性がありました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [cd4b6e9]
+ -->
+ <para>
+Test: テスト 005.jdbc の Java プログラムを修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [be2e8ff]
+ -->
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる不具合を修正しました。 (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる可能性がありました。原因は、<varname>POLL_CONNECTIO</varname>構造体の<varname>db_node_id</varname>メンバがこのプロセスで初期化されていなかったからです (子プロセスでは適切に初期化されていました)。
+ </para>
+ <para>
+この問題を解決するには、ノード ID をセットする関数 <function>pool_set_db_node_id()</function>を追加し、<function>make_persistent_db_connection()</function>内で呼び出すように修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [3fcbf78]
+ -->
+ <para>
+<command>SET</command>コマンド発行時の不要なトランザクションの開始を修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [f81d820]
+ -->
+ <para>
+ヘルスチェックアラームを無効にした状態で <function>Failover()</function>関数を実行するように修正しました。(Muhammad Usama)
+ </para>
+ <para>
+詳細は <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> をご参照ください。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-20 [ce47f4f]
+ -->
+ <para>
+配布物に<filename>pgpool.service</filename>が含まれるように修正しました。(Yugo Nagata)
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ </sect2>
+</sect1>
+
<sect1 id="release-3-4-12">
<title>リリース 3.4.12</title>
diff --git a/doc.ja/src/sgml/release-3.5.sgml b/doc.ja/src/sgml/release-3.5.sgml
index 3ad52fb49..6c050f0f6 100644
--- a/doc.ja/src/sgml/release-3.5.sgml
+++ b/doc.ja/src/sgml/release-3.5.sgml
@@ -1,6 +1,257 @@
<!-- doc/src/sgml/release-3.5.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-5-10">
+ <title>リリース 3.5.10</title>
+
+ <note>
+ <title>リリース日</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>不具合修正</title>
+
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-09-02 [322eb19]
+ -->
+ <para>
+ストリーミングレプリケーションモード/拡張クエリで発生する可能性のあるハングアップを修正しました。 (Tatsuo Ishii)
+ </para>
+ <para>
+エラーが発生すると、<productname>Pgpool-II</productname>はフロントエンドから送られてきた<literal>Sync</literal>メッセージを読み取ります。しかし、タイミングによってはまれに<literal>Sync</literal>メッセージがまだ送出されていないことがあり、<literal>sync</literal>が送られるまで待つように修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-09-01 [ad90886]
+ -->
+ <para>
+<literal>watchdog</literal>が新しいノードを追加しようとした時にmasterに拒否される問題を修正しました。 (Yugo Nagata)
+ </para>
+ <para>
+<literal>watchdog</literal>の間の認証の際に、秒を元にした文字列が使われていたため、<literal>watchdog</literal>ノードの間で秒単位の時刻同期ができていないときに、この問題が発生します。修正は、単に秒を元にした文字列を認証キーに使わないようにしました。
+ </para>
+ <para>
+ これは3.5.6, 3.6.3で追加された問題です。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-09-01 [56dccb4]
+ -->
+ <para>
+Test: 001.load_balance のテストスクリプトを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ネイティブレプリケーションモードのみで実行される一部のテストが、ストリーミングレプリケーションモードでも実行されていたので、修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-31 [b380241]
+ -->
+ <para>
+拡張クエリで<literal>slony</literal>モードが動かなくなっていたのを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+<literal>slony</literal>モードの場合、応答がバックエンドから返されたときに、進行中フラグがリセットされず、バックエンドからの次のメッセージ待ち状態になり、ハングアップしていました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-29 [e0d27bd]
+ -->
+ <para>
+ストリーム書き込みモジュールのバグを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+要求された長さが残りの書き込みバッファサイズを超えた場合に発生する<function>pool_write_noerror()</function>の不具合を修正しました。この不具合はバッファオーバーランの問題につながる可能性がありました。
+ </para>
+ <para>
+書き込みバッファがいっぱいになると、<function>pool_flush_it()</function>を呼び出し、バッファをフラッシュし、要求されたデータを直接書き込むように修正しました。
+ </para>
+ <para>
+さらに、<function>pool_unread()</function>のパフォーマンスが向上しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-24 [661c8d3]
+ -->
+ <para>
+Test: レグレッションテストスクリプトを修正しました。(Muhammad Usama)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-24 [7bcd7b8]
+ -->
+ <para>
+Doc: ロードバランスに関するドキュメントを修正しました。(Yugo Nagata)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-16 [2db0ded]
+ -->
+ <para>
+コアダンプが発生する可能性があったのと、一時テーブルの扱いに関するバグを修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [2f3d3e1]
+ -->
+ <para>
+<function>pool_unread()</function> の不具合を修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+<function>pool_unread()</function> が<function>realloc()</function>を呼び出すときに、バッファサイズが更新されませんでした。これにより、メモリ破損や予期しないデータの読み取りが発生する可能性がありました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-13 [645468e]
+ -->
+ <para>
+空文字のクエリの処理を修正しました。(<ulink url="http://www.pgpool.net/mantisbt/view.php?id=328">bug 328</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+空文字のクエリ (空文字列またはコメントクエリ) が送信されると、コマンド完了メッセージがフロントエンドに返されていました。この動作は正しくありません。空文字クエリのレスポンスをフロントエンドに返すように修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-09 [e1de72c]
+ -->
+ <para>
+ストリーミングレプリケーションモード/拡張クエリで発生するクエリキャッシュのバグを修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [0780efe]
+ -->
+ <para>
+ストリーミングレプリケーションモード/拡張クエリで発生するメモリリークを修正しました。(<ulink url="http://www.pgpool.net/mantisbt/view.php?id=324">bug 324</ulink>)(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [3b298f0]
+ -->
+ <para>
+Test: テスト 005.jdbc の Java プログラムを修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [49e47ec]
+ -->
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる不具合を修正しました。 (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる可能性がありました。原因は、<varname>POLL_CONNECTIO</varname>構造体の<varname>db_node_id</varname>メンバがこのプロセスで初期化されていなかったからです (子プロセスでは適切に初期化されていました)。
+ </para>
+ <para>
+この問題を解決するには、ノード ID をセットする関数 <function>pool_set_db_node_id()</function>を追加し、<function>make_persistent_db_connection()</function>内で呼び出すように修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [c4a2a44]
+ -->
+ <para>
+<command>SET</command>コマンド発行時の不要なトランザクションの開始を修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [6586da8]
+ -->
+ <para>
+ヘルスチェックアラームを無効にした状態で <function>Failover()</function>関数を実行するように修正しました。(Muhammad Usama)
+ </para>
+ <para>
+詳細は <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> をご参照ください。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [7958f97]
+ -->
+ <para>
+ストリーミングレプリケーションモード/拡張クエリの場合、フロントエンドが 'S' (同期) メッセージを送信する前に、バックエンドからエラーレスポンスを受信するときに発生するハングアップを修正しました。
+ </para>
+ <para>
+さらに、以下の修正を行いました。
+ </para>
+ <para>
+- ストリーミングレプリケーションモードで <function>ErrorResponse3()</function> 関数が意図的にエラークエリをバックエンドに送信しないように修正しました。
+ </para>
+ <para>
+- クエリが進行中でクエリコンテキストが存在する場合のみ、<varname>virtual_master_node_id</varname>を返すように <function>pool_virtual_master_db_node_id()</function>関数を修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-20 [a9ada5c]
+ -->
+ <para>
+配布物に<filename>pgpool.service</filename>が含まれるように修正しました。(Yugo Nagata)
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ </sect2>
+
+ <sect2>
+ <title>改善点</title>
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-08-09 [50223bc]
+ -->
+ <para>
+Test: ビルド時のログがファイルに出力されるように修正しました。 (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-09 [ea3a958]
+ -->
+ <para>
+Test: メモリリークのレグレッションテストを追加しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-3-5-9">
<title>リリース 3.5.9</title>
diff --git a/doc.ja/src/sgml/release-3.6.sgml b/doc.ja/src/sgml/release-3.6.sgml
index b64c155d0..53355b1da 100644
--- a/doc.ja/src/sgml/release-3.6.sgml
+++ b/doc.ja/src/sgml/release-3.6.sgml
@@ -1,6 +1,266 @@
<!-- doc/src/sgml/release-3.6.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-6-6">
+ <title>リリース 3.6.6</title>
+
+ <note>
+ <title>リリース日</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>不具合修正</title>
+
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-09-02 [6b4216d]
+ -->
+ <para>
+ストリーミングレプリケーションモード/拡張クエリで発生する可能性のあるハングアップを修正しました。 (Tatsuo Ishii)
+ </para>
+ <para>
+エラーが発生すると、<productname>Pgpool-II</productname>はフロントエンドから送られてきた<literal>Sync</literal>メッセージを読み取ります。しかし、タイミングによってはまれに<literal>Sync</literal>メッセージがまだ送出されていないことがあり、<literal>sync</literal>が送られるまで待つように修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-09-01 [39de4a1]
+ -->
+ <para>
+<literal>watchdog</literal>が新しいノードを追加しようとした時にmasterに拒否される問題を修正しました。 (Yugo Nagata)
+ </para>
+ <para>
+<literal>watchdog</literal>の間の認証の際に、秒を元にした文字列が使われていたため、<literal>watchdog</literal>ノードの間で秒単位の時刻同期ができていないときに、この問題が発生します。修正は、単に秒を元にした文字列を認証キーに使わないようにしました。
+ </para>
+ <para>
+ これは3.5.6, 3.6.3で追加された問題です。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-29 [83c35ea]
+ -->
+ <para>
+Test: 001.load_balance のテストスクリプトを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+ネイティブレプリケーションモードのみで実行される一部のテストが、ストリーミングレプリケーションモードでも実行されていたので、修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-29 [3914c90]
+ -->
+ <para>
+拡張クエリで<literal>slony</literal>モードが動かなくなっていたのを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+<literal>slony</literal>モードの場合、応答がバックエンドから返されたときに、進行中フラグがリセットされず、バックエンドからの次のメッセージ待ち状態になり、ハングアップしていました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-29 [d7347f1]
+ -->
+ <para>
+ストリーム書き込みモジュールのバグを修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+要求された長さが残りの書き込みバッファサイズを超えた場合に発生する<function>pool_write_noerror()</function>の不具合を修正しました。この不具合はバッファオーバーランの問題につながる可能性がありました。
+ </para>
+ <para>
+書き込みバッファがいっぱいになると、<function>pool_flush_it()</function>を呼び出し、バッファをフラッシュし、要求されたデータを直接書き込むように修正しました。
+ </para>
+ <para>
+さらに、<function>pool_unread()</function>のパフォーマンスが向上しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-24 [03a221c]
+ -->
+ <para>
+Test: レグレッションテストスクリプトを修正しました。(Muhammad Usama)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-24 [62275b5]
+ -->
+ <para>
+Doc: ロードバランスに関するドキュメントを修正しました。(Yugo Nagata)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-16 [1793074]
+ -->
+ <para>
+コアダンプが発生する可能性があったのと、一時テーブルの扱いに関するバグを修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [da75d24]
+ -->
+ <para>
+<function>pool_unread()</function> の不具合を修正しました。(Tatsuo Ishii)
+ </para>
+ <para>
+<function>pool_unread()</function> が<function>realloc()</function>を呼び出すときに、バッファサイズが更新されませんでした。これにより、メモリ破損や予期しないデータの読み取りが発生する可能性がありました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-13 [55d1ed0]
+ -->
+ <para>
+空文字のクエリの処理を修正しました。(<ulink url="http://www.pgpool.net/mantisbt/view.php?id=328">bug 328</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+空文字のクエリ (空文字列またはコメントクエリ) が送信されると、コマンド完了メッセージがフロントエンドに返されていました。この動作は正しくありません。空文字クエリのレスポンスをフロントエンドに返すように修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-09 [730a545]
+ -->
+ <para>
+ストリーミングレプリケーションモード/拡張クエリで発生するクエリキャッシュのバグを修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [5fe66ad]
+ -->
+ <para>
+ストリーミングレプリケーションモード/拡張クエリで発生するメモリリークを修正しました。(<ulink url="http://www.pgpool.net/mantisbt/view.php?id=324">bug 324</ulink>)(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [bcbca37]
+ -->
+ <para>
+Test: テスト 005.jdbc の Java プログラムを修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [8f00811]
+ -->
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる不具合を修正しました。 (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+<literal>worker</literal>プロセスが間違った DB ノードをフェイルオーバーさせる可能性がありました。原因は、<varname>POLL_CONNECTIO</varname>構造体の<varname>db_node_id</varname>メンバがこのプロセスで初期化されていなかったからです (子プロセスでは適切に初期化されていました)。
+ </para>
+ <para>
+この問題を解決するには、ノード ID をセットする関数 <function>pool_set_db_node_id()</function>を追加し、<function>make_persistent_db_connection()</function>内で呼び出すように修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [7469f45]
+ -->
+ <para>
+<command>SET</command>コマンド発行時の不要なトランザクションの開始を修正しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [45e4df4]
+ -->
+ <para>
+ヘルスチェックアラームを無効にした状態で <function>Failover()</function>関数を実行するように修正しました。(Muhammad Usama)
+ </para>
+ <para>
+詳細は <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> をご参照ください。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [6881a5a]
+ -->
+ <para>
+ストリーミングレプリケーションモード/拡張クエリの場合、フロントエンドが 'S' (同期) メッセージを送信する前に、バックエンドからエラーレスポンスを受信するときに発生するハングアップを修正しました。
+ </para>
+ <para>
+さらに、以下の修正を行いました。
+ </para>
+ <para>
+- ストリーミングレプリケーションモードで <function>ErrorResponse3()</function> 関数が意図的にエラークエリをバックエンドに送信しないように修正しました。
+ </para>
+ <para>
+- クエリが進行中でクエリコンテキストが存在する場合のみ、<varname>virtual_master_node_id</varname>を返すように <function>pool_virtual_master_db_node_id()</function>関数を修正しました。
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-25 [431811b]
+ -->
+ <para>
+Doc: ドキュメントのタイポを修正しました。(Bo Peng)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-20 [a9ada5c]
+ -->
+ <para>
+配布物に<filename>pgpool.service</filename>が含まれるように修正しました。(Yugo Nagata)
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ </sect2>
+
+ <sect2>
+ <title>改善点</title>
+
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2017-08-21 [1812a84]
+ -->
+ <para>
+Doc: 英語/日本語ドキュメントに <link linkend="example-cluster">「Pgpoo-II + Watchdogの構築の例」</link>を追加しました。(Bo Peng)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-09 [34890b2]
+ -->
+ <para>
+Test: メモリリークのレグレッションテストを追加しました。(Tatsuo Ishii)
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-3-6-5">
<title>リリース 3.6.5</title>
@@ -146,7 +406,7 @@
<productname>Pgpool-II</productname>が "Row description" メッセージを受信した際に、クエリ処理中のフラグをリセットするように修正しました。"no data" メッセージと同じ扱いにする必要がありました。
</para>
<para>
- 詳細は<ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-June/005613.html">[pgpo ol-general: 5555]</ulink>を参照してください。
+ 詳細は<ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-June/005613.html">[pgpool-general: 5555]</ulink>を参照してください。
</para>
</listitem>
diff --git a/doc/src/sgml/release-3.2.sgml b/doc/src/sgml/release-3.2.sgml
index f84598b18..51eb91210 100644
--- a/doc/src/sgml/release-3.2.sgml
+++ b/doc/src/sgml/release-3.2.sgml
@@ -1,6 +1,81 @@
<!-- doc/src/sgml/release-3.2.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-2-22">
+ <title>Release 3.2.22</title>
+
+ <note>
+ <title>Release Date</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>Bug fixes</title>
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-08-24 [cb4d863]
+ -->
+ <para>
+ Doc: Fix documentation about load-balancing. (Yugo Nagata)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [2cd5bd3]
+ -->
+ <para>
+ Fix ancient bug of <function>pool_unread()</function>. (Tatsuo Ishii)
+ </para>
+ <para>
+ When <function>realloc()</function> is called in <function>pool_unread()</function>, it did not update the
+ buffer size. This could cause variety of memory corruption and
+ unexpected data reading from backend. The reason why we did not found
+ that is, probably recently <productname>Pgpool-II</productname> starts extensively to use
+ <function>pool_unread()</function>.
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [3f9806b]
+ -->
+ <para>
+ Fix for when failover is triggered by worker process, it is possible that wrong DB node could failover. (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+ This is due to the db_node_id member in the <varname>POLL_CONNECTION</varname> structure is not initialized in the process (in child process the member is properly initialized). To solve the problem, add new function <function>pool_set_db_node_id()</function> to set the structure member variable and call it inside <function>make_persistent_db_connection()</function>.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [ea6ea69]
+ -->
+ <para>
+ Fix starting unnecessary transaction when <command>SET</command> command is issued. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [576312c]
+ -->
+ <para>
+ Fix for <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> <function>Failover()</function> function should be executed with health check alarm disabled. (Muhammad Usama)
+ </para>
+ </listitem>
+
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-3-2-21">
<title>Release 3.2.21</title>
diff --git a/doc/src/sgml/release-3.3.sgml b/doc/src/sgml/release-3.3.sgml
index df76dbe17..d3f1b06e1 100644
--- a/doc/src/sgml/release-3.3.sgml
+++ b/doc/src/sgml/release-3.3.sgml
@@ -1,6 +1,89 @@
<!-- doc/src/sgml/release-3.3.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-3-17">
+ <title>Release 3.3.17</title>
+
+ <note>
+ <title>Release Date</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>Bug fixes</title>
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-08-24 [119b38a]
+ -->
+ <para>
+ Doc: Fix documentation about load-balancing. (Yugo Nagata)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [c84ce4e]
+ -->
+ <para>
+ Fix ancient bug of <function>pool_unread()</function>. (Tatsuo Ishii)
+ </para>
+ <para>
+ When <function>realloc()</function> is called in <function>pool_unread()</function>, it did not update the
+ buffer size. This could cause variety of memory corruption and
+ unexpected data reading from backend. The reason why we did not found
+ that is, probably recently <productname>Pgpool-II</productname> starts extensively to use
+ <function>pool_unread()</function>.
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [8ba5091]
+ -->
+ <para>
+ Test: Fix Java program in 005.regression test. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [626ef81]
+ -->
+ <para>
+ Fix for when failover is triggered by worker process, it is possible that wrong DB node could failover. (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+ This is due to the db_node_id member in the <varname>POLL_CONNECTION</varname> structure is not initialized in the process (in child process the member is properly initialized). To solve the problem, add new function <function>pool_set_db_node_id()</function> to set the structure member variable and call it inside <function>make_persistent_db_connection()</function>.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [e77c206]
+ -->
+ <para>
+ Fix starting unnecessary transaction when <command>SET</command> command is issued. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [45e4df4]
+ -->
+ <para>
+ Fix for <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> <function>Failover()</function> function should be executed with health check alarm disabled. (Muhammad Usama)
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-3-3-16">
<title>Release 3.3.16</title>
diff --git a/doc/src/sgml/release-3.4.sgml b/doc/src/sgml/release-3.4.sgml
index 1dcb19dbd..0538c2995 100644
--- a/doc/src/sgml/release-3.4.sgml
+++ b/doc/src/sgml/release-3.4.sgml
@@ -1,6 +1,101 @@
<!-- doc/src/sgml/release-3.4.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-4-13">
+ <title>Release 3.4.13</title>
+
+ <note>
+ <title>Release Date</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>Bug fixes</title>
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-08-24 [4bae117]
+ -->
+ <para>
+ Doc: Fix documentation about load-balancing. (Yugo Nagata)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [d29d0eb]
+ -->
+ <para>
+ Fix ancient bug of <function>pool_unread()</function>. (Tatsuo Ishii)
+ </para>
+ <para>
+ When <function>realloc()</function> is called in <function>pool_unread()</function>, it did not update the
+ buffer size. This could cause variety of memory corruption and
+ unexpected data reading from backend. The reason why we did not found
+ that is, probably recently <productname>Pgpool-II</productname> starts extensively to use
+ <function>pool_unread()</function>.
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [cd4b6e9]
+ -->
+ <para>
+ Test: Fix Java program in 005.regression test. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [be2e8ff]
+ -->
+ <para>
+ Fix for when failover is triggered by worker process, it is possible that wrong DB node could failover. (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+ This is due to the db_node_id member in the <varname>POLL_CONNECTION</varname> structure is not initialized in the process (in child process the member is properly initialized). To solve the problem, add new function <function>pool_set_db_node_id()</function> to set the structure member variable and call it inside <function>make_persistent_db_connection()</function>.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [3fcbf78]
+ -->
+ <para>
+ Fix starting unnecessary transaction when <command>SET</command> command is issued. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [f81d820]
+ -->
+ <para>
+ Fix for <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> <function>Failover()</function> function should be executed with health check alarm disabled. (Muhammad Usama)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-20 [ce47f4f]
+ -->
+ <para>
+ Allow make dist to include <filename>pgpool.service</filename>. (Yugo Nagata)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-3-4-12">
<title>Release 3.4.12</title>
diff --git a/doc/src/sgml/release-3.5.sgml b/doc/src/sgml/release-3.5.sgml
index c915bcd47..09ec12641 100644
--- a/doc/src/sgml/release-3.5.sgml
+++ b/doc/src/sgml/release-3.5.sgml
@@ -1,6 +1,270 @@
<!-- doc/src/sgml/release-3.5.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-5-10">
+ <title>Release 3.5.10</title>
+
+ <note>
+ <title>Release Date</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>Bug fixes</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2017-09-02 [322eb19]
+ -->
+ <para>
+ Fix <productname>Pgpool-II</productname> hanging when error occurs in streaming replication mode and extended query. (Tatsuo Ishii)
+ </para>
+ <para>
+ If backend returns ERROR, <productname>Pgpool-II</productname> reads message from frontend until
+ a <literal>sync</literal> message is sent. Previous code assumed next message is <literal>sync</literal>.
+ However it is possible that more message coming before the <literal>sync</literal>
+ message, it's a low probability though. Fix it to continue reading
+ messages until the <literal>sync</literal> message is read.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-09-01 [ad90886]
+ -->
+ <para>
+ Fix <varname>wd_authkey</varname> bug in that a request to add new node to the clusetr is rejected by master. (Yugo Nagata)
+ </para>
+ <para>
+ This is a bug due to the implementation of 3.5.6 and 3.6.3.
+ </para>
+ <para>
+ This changed the definition of tv_sec that is used to check wd_authkey so
+ that this was affected by the clock of OS. So, if there is a lag between
+ two nodes' clocks, the wd_authkey check fails.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-09-01 [56dccb4]
+ -->
+ <para>
+ Test: Fix load balance test driver. (Tatsuo Ishii)
+ </para>
+ <para>
+ Some tests only for native replication mode was executed in streaming replication mode as well.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-31 [b380241]
+ -->
+ <para>
+ Fix not working <literal>slony</literal> mode in extended query. (Tatsuo Ishii)
+ </para>
+ <para>
+ When response returned from backend, in progress flag was not reset in <literal>slony</literal> mode, which cause waiting for next message from backend in vain.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-29 [e0d27bd]
+ -->
+ <para>
+ Fix ancient bug of stream write modules. (Tatsuo Ishii)
+ </para>
+ <para>
+ Fix bug with <function>pool_write_noerror()</function> when requested length exceeds remaining write buffer size. This could lead to a buffer overrun problem.
+ </para>
+ <para>
+ When write buffer is full, <function>pool_flush_it()</function> is called, which could write data to socket in the middle of message. To fix the problem directly write requested data if the write buffer is going to be full.
+ </para>
+ <para>
+ Enhance performance of <function>pool_unread()</function>.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-24 [661c8d3]
+ -->
+ <para>
+ Test: Some miscellanies small fixes in regression test scripts. (Muhammad Usama)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-24 [7bcd7b8]
+ -->
+ <para>
+ Doc: Fix documentation about load-balancing. (Yugo Nagata)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-16 [2db0ded]
+ -->
+ <para>
+ Fix core dump and mishandling of temp tables. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [2f3d3e1]
+ -->
+ <para>
+ Fix ancient bug of <function>pool_unread()</function>. (Tatsuo Ishii)
+ </para>
+ <para>
+ When <function>realloc()</function> is called in <function>pool_unread()</function>, it did not update the
+ buffer size. This could cause variety of memory corruption and
+ unexpected data reading from backend. The reason why we did not found
+ that is, probably recently <productname>Pgpool-II</productname> starts extensively to use
+ <function>pool_unread()</function>.
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-13 [645468e]
+ -->
+ <para>
+ Fix handling of empty queries. (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=328">bug 328</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+ When empty query (empty string or all comment query) is sent, command
+ complete message was returned to frontend. This is not correct. An
+ empty query response should be returned to frontend.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-09 [e1de72c]
+ -->
+ <para>
+ Fix query cache bug with streaming replication mode and extended query case. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [0780efe]
+ -->
+ <para>
+ Fix memory leak with streaming replication mode/extended query case. (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=324">bug 324</ulink>) (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [3b298f0]
+ -->
+ <para>
+ Test: Fix Java program in 005.regression test. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [49e47ec]
+ -->
+ <para>
+ Fix for when failover is triggered by worker process, it is possible that wrong DB node could failover. (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+ This is due to the db_node_id member in the <varname>POLL_CONNECTION</varname> structure is not initialized in the process (in child process the member is properly initialized). To solve the problem, add new function <function>pool_set_db_node_id()</function> to set the structure member variable and call it inside <function>make_persistent_db_connection()</function>.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [c4a2a44]
+ -->
+ <para>
+ Fix starting unnecessary transaction when <command>SET</command> command is issued. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [6586da8]
+ -->
+ <para>
+ Fix for <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> <function>Failover()</function> function should be executed with health check alarm disabled. (Muhammad Usama)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [7958f97]
+ -->
+ <para>
+ Fix <productname>Pgpool-II</productname> hung up bug or other errors in error case in extended query in replication mode. (Tatsuo Ishii)
+ </para>
+ <para>
+ And other fixes in this commit.
+ </para>
+ <para>
+ 1) Do not send intended error query to backend in streaming replication mode in <function>ErrorResponse3()</function>.
+ </para>
+ <para>
+ 2) Fix <function>pool_virtual_master_db_node_id()</function> to return the virtual_master_node_id only when query is in progress and query context exists.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-20 [504fb3b]
+ -->
+ <para>
+ Allow make dist to include <filename>pgpool.service</filename>. (Yugo Nagata)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+ <sect2>
+ <title>Enhancements</title>
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-08-09 [50223bc]
+ -->
+ <para>
+ Test: Redirect build log to a log file. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-09 [ea3a958]
+ -->
+ <para>
+ Test: Add more memory leak regression tests. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-3-5-9">
<title>Release 3.5.9</title>
diff --git a/doc/src/sgml/release-3.6.sgml b/doc/src/sgml/release-3.6.sgml
index 258424a9d..3798a06bc 100644
--- a/doc/src/sgml/release-3.6.sgml
+++ b/doc/src/sgml/release-3.6.sgml
@@ -1,6 +1,282 @@
<!-- doc/src/sgml/release-3.6.sgml -->
<!-- See header comment in release.sgml about typical markup -->
+<sect1 id="release-3-6-6">
+ <title>Release 3.6.6</title>
+
+ <note>
+ <title>Release Date</title>
+ <simpara>2017-09-05</simpara>
+ </note>
+
+ <sect2>
+ <title>Bug fixes</title>
+ <itemizedlist>
+
+ <listitem>
+ <!--
+ 2017-09-02 [3a19f77]
+ -->
+ <para>
+ Fix <productname>Pgpool-II</productname> hanging when error occurs in streaming replication mode and extended query. (Tatsuo Ishii)
+ </para>
+ <para>
+ If backend returns ERROR, <productname>Pgpool-II</productname> reads message from frontend until
+ a <literal>sync</literal> message is sent. Previous code assumed next message is <literal>sync</literal>.
+ However it is possible that more message coming before the <literal>sync</literal>
+ message, it's a low probability though. Fix it to continue reading
+ messages until the <literal>sync</literal> message is read.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-09-01 [b661a8b]
+ -->
+ <para>
+ Fix <varname>wd_authkey</varname> bug in that a request to add new node to the clusetr is rejected by master. (Yugo Nagata)
+ </para>
+ <para>
+ This is a bug due to the implementation of 3.5.6 and 3.6.3.
+ </para>
+ <para>
+ This changed the definition of tv_sec that is used to check wd_authkey so
+ that this was affected by the clock of OS. So, if there is a lag between
+ two nodes' clocks, the wd_authkey check fails.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-09-01 [83c35ea]
+ -->
+ <para>
+ Test: Fix load balance test driver. (Tatsuo Ishii)
+ </para>
+ <para>
+ Some tests only for native replication mode was executed in streaming replication mode as well.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-31 [3914c90]
+ -->
+ <para>
+ Fix not working <literal>slony</literal> mode in extended query. (Tatsuo Ishii)
+ </para>
+ <para>
+ When response returned from backend, in progress flag was not reset in <literal>slony</literal> mode, which cause waiting for next message from backend in vain.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-29 [d7347f1]
+ -->
+ <para>
+ Fix ancient bug of stream write modules. (Tatsuo Ishii)
+ </para>
+ <para>
+ Fix bug with <function>pool_write_noerror()</function> when requested length exceeds remaining write buffer size. This could lead to a buffer overrun problem.
+ </para>
+ <para>
+ When write buffer is full, <function>pool_flush_it()</function> is called, which could write data to socket in the middle of message. To fix the problem directly write requested data if the write buffer is going to be full.
+ </para>
+ <para>
+ Enhance performance of <function>pool_unread()</function>.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-24 [03a221c]
+ -->
+ <para>
+ Test: Some miscellanies small fixes in regression test scripts. (Muhammad Usama)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-24 [62275b5]
+ -->
+ <para>
+ Doc: Fix documentation about load-balancing. (Yugo Nagata)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-16 [1793074]
+ -->
+ <para>
+ Fix core dump and mishandling of temp tables. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-15 [da75d24]
+ -->
+ <para>
+ Fix ancient bug of <function>pool_unread()</function>. (Tatsuo Ishii)
+ </para>
+ <para>
+ When <function>realloc()</function> is called in <function>pool_unread()</function>, it did not update the
+ buffer size. This could cause variety of memory corruption and
+ unexpected data reading from backend. The reason why we did not found
+ that is, probably recently <productname>Pgpool-II</productname> starts extensively to use
+ <function>pool_unread()</function>.
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-13 [55d1ed0]
+ -->
+ <para>
+ Fix handling of empty queries. (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=328">bug 328</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+ When empty query (empty string or all comment query) is sent, command
+ complete message was returned to frontend. This is not correct. An
+ empty query response should be returned to frontend.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-09 [730a545]
+ -->
+ <para>
+ Fix query cache bug with streaming replication mode and extended query case. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [5fe66ad]
+ -->
+ <para>
+ Fix memory leak with streaming replication mode/extended query case. (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=324">bug 324</ulink>) (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [bcbca37]
+ -->
+ <para>
+ Test: Fix Java program in 005.regression test. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-03 [8f00811]
+ -->
+ <para>
+ Fix for when failover is triggered by worker process, it is possible that wrong DB node could failover. (<ulink url="http://www.pgpool.net/mantisbt/view.php?id=303">bug 303</ulink>) (Tatsuo Ishii)
+ </para>
+ <para>
+ This is due to the db_node_id member in the <varname>POLL_CONNECTION</varname> structure is not initialized in the process (in child process the member is properly initialized). To solve the problem, add new function <function>pool_set_db_node_id()</function> to set the structure member variable and call it inside <function>make_persistent_db_connection()</function>.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-31 [7469f45]
+ -->
+ <para>
+ Fix starting unnecessary transaction when <command>SET</command> command is issued. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [45e4df4]
+ -->
+ <para>
+ Fix for <ulink url="http://www.pgpool.net/pipermail/pgpool-general/2017-July/005679.html">[pgpool-general: 5621]</ulink> <function>Failover()</function> function should be executed with health check alarm disabled. (Muhammad Usama)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-27 [6881a5a]
+ -->
+ <para>
+ Fix <productname>Pgpool-II</productname> hung up bug or other errors in error case in extended query in replication mode. (Tatsuo Ishii)
+ </para>
+ <para>
+ And other fixes in this commit.
+ </para>
+ <para>
+ 1) Do not send intended error query to backend in streaming replication mode in <function>ErrorResponse3()</function>.
+ </para>
+ <para>
+ 2) Fix <function>pool_virtual_master_db_node_id()</function> to return the virtual_master_node_id only when query is in progress and query context exists.
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-25 [431811b]
+ -->
+ <para>
+ Doc: Fix <productname>Pgpool-II</productname> document typo. (Bo Peng)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-07-20 [a9ada5c]
+ -->
+ <para>
+ Allow make dist to include <filename>pgpool.service</filename>. (Yugo Nagata)
+ </para>
+ <para>
+
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+ <sect2>
+ <title>Enhancements</title>
+ <itemizedlist>
+ <listitem>
+ <!--
+ 2017-08-21 [1812a84]
+ -->
+ <para>
+ Doc: Add new English and Japanese documents of <link linkend="example-cluster">Pgpoo-II + Watchdog Setup Example</link>. (Bo Peng)
+ </para>
+ </listitem>
+
+ <listitem>
+ <!--
+ 2017-08-09 [34890b2]
+ -->
+ <para>
+ Test: Add more memory leak regression tests. (Tatsuo Ishii)
+ </para>
+ </listitem>
+
+ </itemizedlist>
+ </sect2>
+</sect1>
+
<sect1 id="release-3-6-5">
<title>Release 3.6.5</title>
[parent: 9444f0cc3b13]