Prepare 3.1.3
authorYugo Nagata <nagata@sraoss.co.jp>
Mon, 23 Apr 2012 03:09:11 +0000 (12:09 +0900)
committerYugo Nagata <nagata@sraoss.co.jp>
Mon, 23 Apr 2012 03:09:11 +0000 (12:09 +0900)
NEWS
configure
configure.in
doc/pgpool-ja.html

diff --git a/NEWS b/NEWS
index 12c22db03b768c828b715c7630616d0a82339241..dbfb33cfc072ce6e899d4449fb8e9c79553caa8c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,95 @@
+3.1.3 (hatsuiboshi) 2012/04/23
+
+      * Version 3.1.3
+
+      This is a bugfix release against pgpool-II 3.1.2.
+
+      * Bug fixes
+
+      - Add m4Add m4 files. This should prevent compiling problem on older
+        OS's. (Tatsuo Ishii)
+
+      - Fix to handle failover properly in detect_postmaster_down_error().
+        (Tatsuo Ishii)
+
+        It is possible that it fails to read backend socket after detecting
+        backend errors and before actually detaching the backend. 
+
+      - Fix bug that the process exits before unlocking semaphore by a
+        signal interrupt. (Tatsuo Ishii)
+
+      - Fix a memory leak in case of reset_query. (Tatsuo Ishii)
+
+      - Fix pool_ssl_read() to deal with large data reading. (Tatsuo Ishii)
+
+        Original complain is here:
+        http://www.pgpool.net/pipermail/pgpool-general/2012-March/000299.html
+
+      - Fix deadlock by enabling log_destination = syslog. (Tatsuo Ishii)
+      
+        Reported in bug tracker http://www.pgpool.net/mantisbt/view.php?id=9.
+        Patch provided by Gilles Darold.
+
+      - Allow to use multi statement in master/slave mode. (Tatsuo Ishii)
+
+        From 3.1 transactional statements such as "BEGIN" are sent to not only
+        primary but also standbys. This brings an unfortunate side effect: if
+        the multi statement is "BEGIN;DELETE FROM table;END", this will be
+        sent to standy as well and cause an error because standby does notallow
+        write SQL. So fix is, if a query is a multi statement one, then send it
+        to primary only.
+
+      - Allow to have private cache of master node id. (Tatsuo Ishii)
+        
+        When master goes down running pgpool children look into NULL pointer
+        because the process does not connect to the new master yet. The private
+        cache returns the old master node id and will avoid the situation.
+       
+        Per bug reported in http://www.pgpool.net/mantisbt/view.php?id=51
+
+      - Fix pool_start_query() so that it uses my_master_node_id instead of 
+        REAL_MASTER_NODE_ID for initial virtual_master_node_id. (Tatsuo Ishii)
+
+        Real master node could be changed while pgpool is running in streaming
+        replication mode. Previously it is assigned REAL_MASTER_NODE_ID, which
+        could have no connections after fail over and cause segafult.
+        
+      - Fix pool_setall_node_to_be_sent() to use private_backend_status instead
+        of BACKEND_INFO macro. (Tatsuo Ishii)
+      
+        It is possible that while processing, the node returned by BACKEND_INFO
+        is not usable any more.
+
+      - Fix failover(). (Tatsuo Ishii) 
+
+        Before it only restarts worker child only when pgpool child do not need
+        restart. This is wrong. We need to restart worker child in any case. 
+        Otherwise it continues to send replication time lag check request to down
+        the node.
+
+      - Fix debug log message so that it does not contain null characters.
+        (Toshihiro Kitagawa)
+
+      - Fix SimpleQuery() so that it restores parser memory context when:
+          1) Builtin show commands are used
+          2) Parallel query mode
+          3) Query cache is used
+        (Tatsuo Ishii)
+
+      - Fix hangup when PREPARE statement causes error. (Toshihiro Kitagawa)
+
+        This issue was reported by Tomonari Katsumata:
+        Subject: [pgpool-general: 121] question of pgpool's behavior
+
+      - Add doc/pgpool-fr.html to Makefile.am. (Tatsuo Ishii)
+
+        This had been forgotten when the doc was added.
+
+      - Fix  hangup during md5 authentication that occurs in daemon mode
+        and log_destination is 'syslog'. (Yugo Nagata)
+
+        Reported in bug tracker http://www.pgpool.net/mantisbt/view.php?id=2.
+
 3.1.2 (hatsuiboshi) 2012/01/31
 
          * Version 3.1.2
index 02718e84269f86976dfc0f51b9d1a3a4d865c37b..9477914e58527b04bacdc1e436252fdb177d32c9 100755 (executable)
--- a/configure
+++ b/configure
@@ -3932,7 +3932,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE=pgpool-II
- VERSION=3.1.2
+ VERSION=3.1.3
 
 
 cat >>confdefs.h <<_ACEOF
index f76ed3998d81bcef328cbc49f2affeec8bcccad3..5eb55a53a0248e5316a91b8ea65935de8d59217c 100644 (file)
@@ -4,7 +4,7 @@ AC_INIT
 dnl Checks for programs.
 AC_PROG_CC
 
-AM_INIT_AUTOMAKE(pgpool-II, 3.1.2)
+AM_INIT_AUTOMAKE(pgpool-II, 3.1.3)
 AC_PROG_RANLIB
 AC_PROG_LIBTOOL
 
index 1308fde39f3fdf526ef0da63f6a999d1e3c3c392..318f6a20b7a624fcb4fe2fc5c38c996196332605 100644 (file)
@@ -8,7 +8,7 @@
 <body>
 
 <!-- hhmts start -->
-Last modified: Tue Dec  6 10:42:47 JST 2011
+Last modified: Fri Apr 20 15:56:23 JST 2012
 <!-- hhmts end -->
 
 <body bgcolor="#ffffff">
@@ -3989,6 +3989,50 @@ pgpool-II\e$B$N%A%e!<%H%j%"%k$O\e(B<a href="tutorial-ja.html">\e$B$3$3\e(B<a/>\e$B$K$
 
 <h1>\e$B%j%j!<%9%N!<%H\e(B<a name="release"></a></h1>
 
+<h2><a name="release3.1.2"></a>3.1.3 (hatsuiboshi) 2012/01/31</h2>
+<h3>\e$B35MW\e(B</h3>
+<p>
+\e$B$3$N%P!<%8%g%s$O\e(B3.1.2\e$B$KBP$9$k%P%0=$@5%j%j!<%9$G$9!#\e(B
+</p>
+<h3>\e$B%P%0=$@5\e(B</h3>
+<ul>
+<li>m4Add m4 \e$B%U%!%$%k$rDI2C$7$^$7$?!#$3$l$K$h$j8E$$\e(B OS \e$B$G5/$3$k%3%s%Q%$%k$NLdBj$r2sHr$G$-$^$9!#\e(B(Tatsuo Ishii)</li>
+<li>\e$B%U%'!<%k%*!<%P$rE,@Z$K=hM}$9$k$h$&\e(B detect_postmaster_down_error() \e$B4X?t$r=$@5$7$^$7$?!#\e(B<br />
+    \e$B0JA0$O%P%C%/%(%s%I%=%1%C%H$NFI$_9~$_$K<:GT$9$k$3$H$,$"$j$^$7$?!#\e(B(Tatsuo Ishii)</li>
+<li>\e$B%7%0%J%k3d$j9~$_$K$h$C$F!"%;%^%U%)$,2rJ|$5$l$J$$$^$^%W%m%;%9$,=*N;$9$k$3$H$,$"$k%P%0$r=$@5$7$^$7$?!#\e(B(Tatsuo Ishii)</li>
+<li>reset_query \e$B;~$N%a%b%j%j!<%/$r=$@5$7$^$7$?!#\e(B (Tatsuo Ishii)</li>
+<li>pool_ssl_read() \e$B4X?t$,Bg$-$$%5%$%:$N%G!<%?$rFI$_9~$a$k$h$&=$@5$7$^$7$?!#0J2<$NJs9p$K$h$k$b$N$G$9!#\e(B(Tatsuo Ishii)<br />
+    <a href=http://www.pgpool.net/pipermail/pgpool-general/2012-March/000299.html">
+    http://www.pgpool.net/pipermail/pgpool-general/2012-March/000299.html</a></li>
+<li> syslog \e$B$rM-8z$K$7$?$H$-$K5/$3$k%G%C%I%m%C%/$r=$@5$7$^$7$?!#$3$N%P%0$O0J2<$GJs9p$5$l!"%Q%C%A$O\e(B Gilles Darold \e$B$5$s$K$h$jDs6!D:$-$^$7$?!#\e(B(Tatsuo Ishii)<br />
+   <a href="http://www.pgpool.net/mantisbt/view.php?id=9">
+   http://www.pgpool.net/mantisbt/view.php?id=9</a></li>
+<li>\e$B%^%9%?!<!&%9%l!<%V%b!<%I$GJ#?t$NJ8$r07$($k$h$&$K=$@5$7$^$7$?!#\e(B
+    \e$B0JA0$O\e(B BEGIN, END \e$BEy$rMQ$$$?J#?tJ8$+$i$J$k%/%(%j$O%(%i!<$H$J$C$F$$$^$7$?!#\e(B(Tatsuo Ishii)</li>
+<li>\e$B%^%9%?%5!<%P$,%@%&%s$7$?:]$K!";R%W%m%;%9$,\e(B NULL \e$B%]%$%s%?$r;2>H$7$h$&$H$9$k%P%0$r=$@5$7$^$7$?!#$3$N%P%0$O0J2<$GJs9p$5$l$^$7$?!#\e(B(Tatsuo Ishii)</br>
+    <a href="http://www.pgpool.net/mantisbt/view.php?id=51">
+    http://www.pgpool.net/mantisbt/view.php?id=51</a></li>
+<li>\e$B%^%9%?!<%N!<%I\e(BID\e$B$N=i4|CM$,@5$7$/@_Dj$5$l$k$h$&$K\e(B pool_start_query() \e$B4X?t$r=$@5$7$^$7$?!#\e(B(Tatsuo Ishii)</br>
+    \e$B$3$N%P%0$N$?$a$K%;%0%a%s%H%U%)%k%H$,H/@8$9$k$3$H$,$"$j$^$7$?!#\e(B(Tatsuo Ishii)</li> 
+<li>pool_setall_node_to_be_sent() \e$B4X?t$K$*$$$F\e(B BACKEND_INFO \e$B%^%/%m$NBe$o$j$K\e(B private_backend_status \e$BJQ?t$rMxMQ$9$k$h$&=$@5$7$^$7$?!#\e(B<br />
+    \e$B$3$l$O>u67$K$h$j\e(B BACKEND_INFO \e$B$,MxMQ$G$-$J$/$J$k>l9g$,$"$C$?$?$a$G$9!#\e(B(Tatsuo Ishii)</li>
+<li>\e$B;R%W%m%;%9$,%l%W%j%1!<%7%g%sCY1d%A%'%C%/MW5a$rAw$jB3$1$k$3$H$,$"$k%P%0$r=$@5$7$^$7$?!#\e(B</br>
+    \e$B0JA0$O%U%'%$%k%*!<%P;~$K%l%W%j%1!<%7%g%sCY1d$r%A%'%C%/$9$k\e(B worker \e$B%W%m%;%9$r8BDj$7$?>r7o$G$7$+5/F0$7$F$$$^$;$s$G$7$?$,!"\e(B<br/>
+       \e$B$3$l$O4V0c$$$G!">o$K:F5/F0$9$kI,MW$,$"$j$^$9!#\e(B(Tatsuo Ishii)</li>
+<li>\e$B%G%P%C%0%a%C%;!<%8$K%L%kJ8;z$,4^$^$l$J$$$h$&$K=$@5$7$^$7$?!#%L%kJ8;z$,4^$^$l$k%m%0$O!"%P%$%J%j%U%!%$%k$G$"$k$HG'<1$5$l$k$3$H$,$"$j$^$9!#\e(B(Toshihiro Kitagawa)</li>
+<li>\e$B0J2<$N>l9g$K\e(B parser memory \e$B$r%j%9%H%"$9$k$h$&\e(B SimpleQuery() \e$B4X?t$r=$@5$7$^$7$?!#\e(B(Tatsuo Ishii)
+    <ol>
+    <li>\e$BAH$_9~$_\e(B show \e$B%3%^%s%I;HMQ;~\e(B</li>
+    <li>\e$B%Q%i%l%k%/%(%j%b!<%I\e(B</li>
+    <li>\e$B%/%(%j%-%c%C%7%e;HMQ;~\e(B</li>
+    </ol>
+    \e$B$5$b$J$$$H!"8e$GIT@5$J\e(B palloc \e$B$rH/@8$9$k>c32$,5/$-$k$+$i$G$9!#\e(B
+</li>
+<li>PREPARE \e$BJ8$G%(%i!<$,5/$-$?:]$KH/@8$9$k%O%s%0%"%C%W$r=$@5$7$^$7$?!#\e(BTominari Katsumata \e$B$5$s$NJs9p$K4p$E$-$^$9!#\e(B(Toshihiro Kitagagwa)</li>
+<li>doc/pgpool-fr.html \e$B$r\e(B Makefile.am \e$B$KDI2C$7$^$7$?!#$3$l$O%U%i%s%98l$N%I%-%e%a%s%H$rDI2C$7$?:]$K!"DI2C$7K:$l$?$b$N$G$9!#\e(B(Tatsuo Ishii)</li>
+<li>\e$B%G!<%b%s%b!<%I$G\e(B syslog \e$B$rM-8z$K$7$F$$$k:]$K\e(B md5 \e$BG'>Z$GH/@8$9$k%O%s%0%"%C%W$r=$@5$7$^$7$?!#\e(B(Yugo Nagata)</li>
+</ul>
+
 <h2><a name="release3.1.2"></a>3.1.2 (hatsuiboshi) 2012/01/31</h2>
 <h3>\e$B35MW\e(B</h3>
 <p>