Prepare 3.3.12 V3_3_12 V3_3_12_RPM
authorpengbo <pengbo@sraoss.co.jp>
Tue, 30 Aug 2016 10:22:43 +0000 (19:22 +0900)
committerpengbo <pengbo@sraoss.co.jp>
Tue, 30 Aug 2016 10:22:43 +0000 (19:22 +0900)
NEWS
configure
configure.ac
doc/pgpool-ja.html

diff --git a/NEWS b/NEWS
index 0e9e23f91163eed7f56338689208246e6a976791..04618a77c35d04154f1d7302e1f38fda3d356f86 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,57 @@
 
 ===============================================================================
 3.3 Series (2013/07/30 - )
+===============================================================================
+
+                        3.3.12 (tokakiboshi) 2016/08/31
+
+* Version 3.3.12
+
+    This is a bugfix release against pgpool-II 3.3.11.
+
+    __________________________________________________________________
+
+* Bug fixes
+
+    - Fix buffer over run problem in "show pool_nodes". (Tatsuo Ishii)
+      
+      While processing "show pool_nodes", the buffer for hostname was too
+      short. It should be same size as the buffer used for pgpool.conf.
+      Problem reported by a twitter user who is using pgpool on AWS (which
+      could have very long hostname).
+
+    - Fix usage of wait(2) in pgpool main process. (Tatsuo Ishii)
+      
+      The usage of wait(2) in pgpool main could cause infinite wait in the
+      system call. Solution is, to use waitpid(2) instead of wait(2).
+
+    - Fix "kind mismatch" error message in pgpool. (Muhammad Usama)
+      
+      Many of "kind mismatch..." errors are caused by notice/warning
+      messages produced by one or more of the DB nodes. In this case now
+      Pgpool-II forwards the messages to frontend, rather than throwing the
+      "kind mismatch..." error. This would reduce the chance of "kind
+      mismatch..."  errors.
+      
+      See [pgpool-hackers: 1501] for more details.
+
+    - Replace "MAJOR" macro to prevent occasional failure. (Tatsuo Ishii)
+      
+      The macro calls pool_virtual_master_db_node_id() and then access
+      backend->slots[id]->con using the node id returned.  In rare cases, it
+      could point to 0 (in case when the DB node is not connected), which
+      gives access to con->major, then it causes a segfault.
+      
+      See bug 225 for related info.
+
+    - doc : Fixing a typo in english doc (Muhammad Usama)
+
+    - doc : fix Japanese document typo. (Bo Peng)
+
+    - Fixing a typo in the log message. (Muhammad Usama)
+
+    - doc : Add comment to the document about connection_cache. (Tatsuo Ishii)
+
 ===============================================================================
 
                         3.3.11 (tokakiboshi) 2016/06/17
 
 ===============================================================================
 3.2 Series (2012/08/03 - )
+===============================================================================
+
+                        3.2.17 (namameboshi) 2016/08/31
+
+* Version 3.2.17
+
+    This is a bugfix release against pgpool-II 3.2.16.
+
+    __________________________________________________________________
+
+* Bug fixes
+
+    - Fix buffer over run problem in "show pool_nodes". (Tatsuo Ishii)
+      
+      While processing "show pool_nodes", the buffer for hostname was too
+      short. It should be same size as the buffer used for pgpool.conf.
+      Problem reported by a twitter user who is using pgpool on AWS (which
+      could have very long hostname).
+
+    - Fix usage of wait(2) in pgpool main process. (Tatsuo Ishii)
+      
+      The usage of wait(2) in pgpool main could cause infinite wait in the
+      system call. Solution is, to use waitpid(2) instead of wait(2).
+
+    - Fix "kind mismatch" error message in pgpool. (Muhammad Usama)
+      
+      Many of "kind mismatch..." errors are caused by notice/warning
+      messages produced by one or more of the DB nodes. In this case now
+      Pgpool-II forwards the messages to frontend, rather than throwing the
+      "kind mismatch..." error. This would reduce the chance of "kind
+      mismatch..."  errors.
+      
+      See [pgpool-hackers: 1501] for more details.
+
+    - Replace "MAJOR" macro to prevent occasional failure. (Tatsuo Ishii)
+      
+      The macro calls pool_virtual_master_db_node_id() and then access
+      backend->slots[id]->con using the node id returned.  In rare cases, it
+      could point to 0 (in case when the DB node is not connected), which
+      gives access to con->major, then it causes a segfault.
+      
+      See bug 225 for related info.
+
+    - doc : fix Japanese document typo. (Bo Peng)
+
+    - Fixing a typo in the log message. (Muhammad Usama)
+
+    - doc : Add comment to the document about connection_cache. (Tatsuo Ishii)
+
 ===============================================================================
 
                         3.2.16 (namameboshi) 2016/06/17
 
 ===============================================================================
 3.1 Series (2011/09/08 - )
+===============================================================================
+
+
+                        3.1.20 (hatsuiboshi) 2016/08/31
+
+* Version 3.1.20
+
+    This is a bugfix release against pgpool-II 3.1.19.
+
+    __________________________________________________________________
+
+* Bug fixes
+
+    - Fix buffer over run problem in "show pool_nodes". (Tatsuo Ishii)
+      
+      While processing "show pool_nodes", the buffer for hostname was too
+      short. It should be same size as the buffer used for pgpool.conf.
+      Problem reported by a twitter user who is using pgpool on AWS (which
+      could have very long hostname).
+
+    - Fix usage of wait(2) in pgpool main process. (Tatsuo Ishii)
+      
+      The usage of wait(2) in pgpool main could cause infinite wait in the
+      system call. Solution is, to use waitpid(2) instead of wait(2).
+
+    - Fix "kind mismatch" error message in pgpool. (Muhammad Usama)
+      
+      Many of "kind mismatch..." errors are caused by notice/warning
+      messages produced by one or more of the DB nodes. In this case now
+      Pgpool-II forwards the messages to frontend, rather than throwing the
+      "kind mismatch..." error. This would reduce the chance of "kind
+      mismatch..."  errors.
+      
+      See [pgpool-hackers: 1501] for more details.
+
+    - Replace "MAJOR" macro to prevent occasional failure. (Tatsuo Ishii)
+      
+      The macro calls pool_virtual_master_db_node_id() and then access
+      backend->slots[id]->con using the node id returned.  In rare cases, it
+      could point to 0 (in case when the DB node is not connected), which
+      gives access to con->major, then it causes a segfault.
+      
+      See bug 225 for related info.
+
+    - doc : fix Japanese document typo. (Bo Peng)
+
+    - Fixing a typo in the log message. (Muhammad Usama)
+
+    - doc : Add comment to the document about connection_cache. (Tatsuo Ishii)
+
 ===============================================================================
 
                         3.1.19 (hatsuiboshi) 2016/06/17
index b65feacdc04fe20d175e52f3db915b76f0c66e54..e8a996a25a2c7cf9cdf5daaabd418874098ae6d3 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for pgpool-II 3.3.11.
+# Generated by GNU Autoconf 2.69 for pgpool-II 3.3.12.
 #
 # Report bugs to <pgpool-hackers@pgpool.net>.
 #
@@ -590,8 +590,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='pgpool-II'
 PACKAGE_TARNAME='pgpool-II'
-PACKAGE_VERSION='3.3.11'
-PACKAGE_STRING='pgpool-II 3.3.11'
+PACKAGE_VERSION='3.3.12'
+PACKAGE_STRING='pgpool-II 3.3.12'
 PACKAGE_BUGREPORT='pgpool-hackers@pgpool.net'
 PACKAGE_URL=''
 
@@ -1340,7 +1340,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures pgpool-II 3.3.11 to adapt to many kinds of systems.
+\`configure' configures pgpool-II 3.3.12 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1410,7 +1410,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of pgpool-II 3.3.11:";;
+     short | recursive ) echo "Configuration of pgpool-II 3.3.12:";;
    esac
   cat <<\_ACEOF
 
@@ -1537,7 +1537,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-pgpool-II configure 3.3.11
+pgpool-II configure 3.3.12
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2200,7 +2200,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by pgpool-II $as_me 3.3.11, which was
+It was created by pgpool-II $as_me 3.3.12, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3976,7 +3976,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='pgpool-II'
- VERSION='3.3.11'
+ VERSION='3.3.12'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -15057,7 +15057,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by pgpool-II $as_me 3.3.11, which was
+This file was extended by pgpool-II $as_me 3.3.12, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15123,7 +15123,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-pgpool-II config.status 3.3.11
+pgpool-II config.status 3.3.12
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
index 9e1e37abf75119491066bb1c000bfa37b184038a..9c175eff8d8c83dafd0802f2d92a83d5dd072634 100644 (file)
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT([pgpool-II], [3.3.11], [pgpool-hackers@pgpool.net], [pgpool-II])
+AC_INIT([pgpool-II], [3.3.12], [pgpool-hackers@pgpool.net], [pgpool-II])
 
 dnl Checks for programs.
 AC_PROG_CC
index 1dcbd5e33773e794649d7abafe0a41d5778e042c..cb969c79ca701f1e988a24115a0a6acd2a5910ba 100644 (file)
@@ -5934,6 +5934,77 @@ SELECTの最終実行ステータスとパフォーマンスのおおよその
 <!-- ================================================================================ -->
 <hr><a name="release3.3.x"></a>
 
+<!-- -------------------------------------------------------------------------------- -->
+<h2><a name="release3.3.12"></a>3.3.12 (tokakiboshi) 2016/08/31</h2>
+<!-- -------------------------------------------------------------------------------- -->
+
+<h3>概要</h3>
+<p>
+このバージョンは 3.3.11 に対するバグ修正リリースです。
+</p>
+
+<h3>バグ修正</h3>
+<ul>
+
+<li>
+    show pool_nodes でのバッファオーバーランを修正しました。(Tatsuo Ishii)
+    <p>
+    show pool_nodes を実行時、hostname に割り当てられたバッファが十分ではないのが原因でした。
+    pgpool.conf のバッファサイズと同じようにしました。
+    </p>
+</li>
+
+<li>
+    pgpool メインプロセスの wait(2) の扱いを修正しました。(Tatsuo Ishii)
+    <p>
+    システムコールで pgpool メインプロセスの wait(2) が無限ループを引き起こす可能性があります。
+    この修正で、 wait(2) の代わりに、waitpid(2) を使うように変更しました。
+    </p>
+</li>
+
+<li>
+    "kind mismatch" エラーメッセージの処理について修正しました。
+    <p>
+    多くの"kind mismatch..."エラーは、NOTICE や WARNING メッセージが DBノードのいくつかで起こることによるものです。
+    この修正では、そうしたケースにおいて、"kind mismatch..."エラーを引き起こすのではなく、
+    NOTICE や WARNINGメッセージをフロントエンドに送るようになりました。
+    これにより、"kind mismatch..."エラーの発生が減少します。
+    </p>
+    <p>
+    詳しくは、[pgpool-hackers: 1501] を参照してください。
+    </p>
+</li>
+
+<li>
+    「MAJOR」マクロによる発生しうるセグメンテーションフォルトを修正しました。(Tatsuo Ishii)
+    <p>
+    「MAJOR」が pool_virtual_master_db_node_id() を呼出し、戻り値 idを使ってbackend->slots[id]->con
+    にアクセスします。DB にアクセスできない場合(ほとんど発生しない)、con->major にアクセスし、
+    メンテーションフォルトを引き起す可能性がありました。
+    </p>
+    <p>
+    bug #225 の報告によります。
+    </p>
+</li>
+
+<li>
+    doc : 英語ドキュメントのタイポを修正しました。(Muhammad Usama)
+</li>
+
+<li>
+    doc : 日本語ドキュメントのタイポを修正しました。(Bo Peng)
+</li>
+
+<li>
+    ログメッセージのタイポを修正しました。(Muhammad Usama)
+</li>
+
+<li>
+    doc : connection_cache に関するコメントを追加しました。(Tatsuo Ishii)
+</li>
+
+</ul>
+
 <!-- -------------------------------------------------------------------------------- -->
 <h2><a name="release3.3.11"></a>3.3.11 (tokakiboshi) 2016/06/17</h2>
 <!-- -------------------------------------------------------------------------------- -->
@@ -8024,6 +8095,73 @@ FATAL: no PostgreSQL user name specified in startup packet
 <!-- ================================================================================ -->
 <hr><a name="release3.2.x"></a>
 
+<!-- -------------------------------------------------------------------------------- -->
+<h2><a name="release3.2.17"></a>3.2.17 (namameboshi) 2016/08/31</h2>
+<!-- -------------------------------------------------------------------------------- -->
+
+<h3>概要</h3>
+<p>
+このバージョンは 3.2.16 に対するバグ修正リリースです。
+</p>
+
+<h3>バグ修正</h3>
+<ul>
+
+<li>
+    show pool_nodes でのバッファオーバーランを修正しました。(Tatsuo Ishii)
+    <p>
+    show pool_nodes を実行時、hostname に割り当てられたバッファが十分ではないのが原因でした。
+    pgpool.conf のバッファサイズと同じようにしました。
+    </p>
+</li>
+
+<li>
+    pgpool メインプロセスの wait(2) の扱いを修正しました。(Tatsuo Ishii)
+    <p>
+    システムコールで pgpool メインプロセスの wait(2) が無限ループを引き起こす可能性があります。
+    この修正で、 wait(2) の代わりに、waitpid(2) を使うように変更しました。
+    </p>
+</li>
+
+<li>
+    "kind mismatch" エラーメッセージの処理について修正しました。
+    <p>
+    多くの"kind mismatch..."エラーは、NOTICE や WARNING メッセージが DBノードのいくつかで起こることによるものです。
+    この修正では、そうしたケースにおいて、"kind mismatch..."エラーを引き起こすのではなく、
+    NOTICE や WARNINGメッセージをフロントエンドに送るようになりました。
+    これにより、"kind mismatch..."エラーの発生が減少します。
+    </p>
+    <p>
+    詳しくは、[pgpool-hackers: 1501] を参照してください。
+    </p>
+</li>
+
+<li>
+    「MAJOR」マクロによる発生しうるセグメンテーションフォルトを修正しました。(Tatsuo Ishii)
+    <p>
+    「MAJOR」が pool_virtual_master_db_node_id() を呼出し、戻り値 idを使ってbackend->slots[id]->con
+    にアクセスします。DB にアクセスできない場合(ほとんど発生しない)、con->major にアクセスし、
+    メンテーションフォルトを引き起す可能性がありました。
+    </p>
+    <p>
+    bug #225 の報告によります。
+    </p>
+</li>
+
+<li>
+    doc : 日本語ドキュメントのタイポを修正しました。(Bo Peng)
+</li>
+
+<li>
+    ログメッセージのタイポを修正しました。(Muhammad Usama)
+</li>
+
+<li>
+    doc : connection_cache に関するコメントを追加しました。(Tatsuo Ishii)
+</li>
+
+</ul>
+
 <!-- -------------------------------------------------------------------------------- -->
 <h2><a name="release3.2.16"></a>3.2.16 (namameboshi) 2016/06/17</h2>
 <!-- -------------------------------------------------------------------------------- -->
@@ -10683,6 +10821,73 @@ autoconf
 <!-- ================================================================================ -->
 <hr><a name="release3.1.x"></a>
 
+<!-- -------------------------------------------------------------------------------- -->
+<h2><a name="release3.1.20"></a>3.1.20 (hatsuiboshi) 2016/08/31</h2>
+<!-- -------------------------------------------------------------------------------- -->
+
+<h3>概要</h3>
+<p>
+このバージョンは 3.1.19 に対するバグ修正リリースです。
+</p>
+
+<h3>バグ修正</h3>
+<ul>
+
+<li>
+    show pool_nodes でのバッファオーバーランを修正しました。(Tatsuo Ishii)
+    <p>
+    show pool_nodes を実行時、hostname に割り当てられたバッファが十分ではないのが原因でした。
+    pgpool.conf のバッファサイズと同じようにしました。
+    </p>
+</li>
+
+<li>
+    pgpool メインプロセスの wait(2) の扱いを修正しました。(Tatsuo Ishii)
+    <p>
+    システムコールで pgpool メインプロセスの wait(2) が無限ループを引き起こす可能性があります。
+    この修正で、 wait(2) の代わりに、waitpid(2) を使うように変更しました。
+    </p>
+</li>
+
+<li>
+    "kind mismatch" エラーメッセージの処理について修正しました。
+    <p>
+    多くの"kind mismatch..."エラーは、NOTICE や WARNING メッセージが DBノードのいくつかで起こることによるものです。
+    この修正では、そうしたケースにおいて、"kind mismatch..."エラーを引き起こすのではなく、
+    NOTICE や WARNINGメッセージをフロントエンドに送るようになりました。
+    これにより、"kind mismatch..."エラーの発生が減少します。
+    </p>
+    <p>
+    詳しくは、[pgpool-hackers: 1501] を参照してください。
+    </p>
+</li>
+
+<li>
+    「MAJOR」マクロによる発生しうるセグメンテーションフォルトを修正しました。(Tatsuo Ishii)
+    <p>
+    「MAJOR」が pool_virtual_master_db_node_id() を呼出し、戻り値 idを使ってbackend->slots[id]->con
+    にアクセスします。DB にアクセスできない場合(ほとんど発生しない)、con->major にアクセスし、
+    メンテーションフォルトを引き起す可能性がありました。
+    </p>
+    <p>
+    bug #225 の報告によります。
+    </p>
+</li>
+
+<li>
+    doc : 日本語ドキュメントのタイポを修正しました。(Bo Peng)
+</li>
+
+<li>
+    ログメッセージのタイポを修正しました。(Muhammad Usama)
+</li>
+
+<li>
+    doc : connection_cache に関するコメントを追加しました。(Tatsuo Ishii)
+</li>
+
+</ul>
+
 <!-- -------------------------------------------------------------------------------- -->
 <h2><a name="release3.1.19"></a>3.1.19 (hatsuiboshi) 2016/06/17</h2>
 <!-- -------------------------------------------------------------------------------- -->