pgpool2.git / summary / log / commit / refs
commit 954eaa2d318959d2d9413b8b92ffba0ca76b8eb1
Author: Yugo Nagata <nagata@sraoss.co.jp>
Date: Fri Apr 18 07:11:33 2014 +0000
Add release notes
NEWS | 702 +++++++++++++++++++++++++++++-------
doc/pgpool-ja.html | 1014 ++++++++++++++++++++++++++++++++++++++++++++++------
2 files changed, 1495 insertions(+), 221 deletions(-)
diff --git a/NEWS b/NEWS
index a670b293d..d4aaff6ab 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,153 @@
3.3 Series (2013/07/30 - )
===============================================================================
+ 3.3.3 (tokakiboshi) 2014/03/24
+
+* Version 3.3.3
+
+ This is a bugfix release against pgpool-II 3.3.2.
+
+ __________________________________________________________________
+
+* Bug fixes
+
+ - installer: Fix bug that install of pgpool-II RPM fails (Yugo Nagata)
+
+ - installer: Fix to set up passwordless SSH from apache@localhost to
+ postgres@localhost (Yugo Nagata)
+
+ - Fix bug that restarted pgpool's watchdog status is regarded as down
+ (Yugo Nagata)
+
+ - doc: Add mention about "listen queue" and how to increase the "backlog"
+ in the num_init_children section. (Tatsuo Ishii)
+
+ - Fix bug that watchdog status goes down even when only one of trusted
+ servers get unpingable (Yugo Nagata)
+
+ - Fix bad performance of unlogged tables detection code. (Tatsuo Ishii)
+
+ Pointed out at [pgpool-hackers: 435][[pgpool-general:2325].
+
+ - Fix primary node detection logic. (Tatsuo Ishii)
+
+ There's a possibility that primary node is not detected. This happens
+ in following situation. node 0: primary, node 1: standby. Node 0 goes
+ down. Health checking detects the fact but local status is not updated
+ yet. Primary node finding (find_primary_node) runs. Node 0's status is
+ yet healthy. Because find_primary_node fails to connect to node 0, it
+ immediately returns -1 and fails to find that fact that node 1 is now
+ primary.
+
+ Fix is just continuing to look for primary node when fails to connect
+ to a node.
+
+ Per [pgpool-general: 2409].
+
+ - Add raw mode support to pgpool_setup. (Tatsuo Ishii)
+
+ - test: Integrate jdbc test to regression test. (Tatsuo Ishii)
+
+ - Fix jdbc DML fails when operated in raw mode and auto commit is off.
+ (Tatsuo Ishii)
+
+ This is reported in bug #92.
+
+ - Fix to output error message when wd_escalation_command fails with exit
+ code other than 0 (Yugo Nagata)
+
+ This is suggested by Sergey Arlashin in [pgpool-general: 2457].
+
+ - test: Add new regression test for query cache. (Tatsuo Ishii)
+
+ - Fix query cache bug with extended protocol. (Tatsuo Ishii)
+
+ SELECT retrieves outdated cache even DML was executed in an expilicit
+ transaction. The bug had been there since in memory query cache was
+ born. Per [pgpool-general-jp: 1252].
+
+ - Add missing entries "relcache_size" and "check_temp_table" to show
+ pool_status (Tatsuo Ishii)
+
+ - Fix to output error message when if_up_cmd fails. (Yugo Nagata)
+
+ This is suggested by Sergey Arlashin in [pgpool-general: 2457].
+
+ - Avoid to send queries to unrelated nodes in streaming replication mode.
+ (Tatsuo Ishii)
+
+ Pgpool-II sends certain queries, such as BEGIN, END and SET commands to
+ all of DB nodes. However in streaming replication mode, only primary
+ node and at most one standby node are only concerned (if primacy node
+ is selected as the load balance node, only 1 node is concerned).
+
+ See [pgpool-hackers: 464] for more details.
+
+ - Fix possible buffer overrun problem and memory leak. (Tatsuo Ishii)
+
+ Per Coverity 1111465 and 1111482.
+
+ - Fix possible buffer overrun. (Tatsuo Ishii)
+
+ Replace strcpy() with strlcpy(). Per Coverity report 1111478, 1111480,
+ 1111481.
+
+ - Add dubug messages for analyzing errors in if_up_cmd (Yugo Nagata)
+
+ - Fix freeing NULL. (Tatsuo Ishii)
+
+ Per Coverity 1111384.
+
+ - Do not enable query cache on materialized views. (Tatsuo Ishii)
+
+ Per bug #95.
+
+ - Fix memory leak. (Tatsuo Ishii)
+
+ Per Coverity 1111446.
+
+ - Fix a segmentation fault in parallel mode with system_db_hostname is
+ empty (Yugo Nagata)
+
+ - Fix to output debug messages in processing pgpool.conf with -d option
+ (Yugo Nagata)
+
+ Previously, some debug messages in pool_get_config() ware not output
+ even when -d option was used.
+
+ - Fix JDBC exception of prepared statement including now() in
+ replication mode (Yugo Nagata)
+
+ With JDBC, when a prepared statement is executed more than
+ PrepareThreshold times, the statement is named and Describe message
+ is sent after Parse. With named statement, pgpool rewrite now() to
+ parameter in replication mode. Hence, rewritten query has additonal
+ parameter than original. In this case, ParameterDescription message
+ sent to frontend (response of Describe) should include OIDs of the
+ same number os original query's parameters. Otherwize, JDBC throws
+ ArrayIndexoutOfBoundsException.
+
+ This is reported in [pgpool-general-jp: 1192].
+
+ - Fix backend error of prepared statement about table which has column whoes
+ default value is now() in replication mode (Yugo Nagata)
+
+ When pgpool parses a named prepared statement with default now(),
+ timestamps are replaced to additional parameters. So, Bind message also
+ should inclued additional parameter format codes. However, when the
+ number of original parameter was one, pgpool didn't handle this. This
+ caused a error like "incorrect binary data format in bind parameter 2".
+
+ - test: Fix a bug of regression test of JDBC that shows OK even when
+ this fails (Yugo Nagata)
+
+ - test: Add a new regression test for JDBC's PrepareThreshold (Yugo Nagata)
+
+ - doc: Add description about parallel mode doesn't support PREPARE (Yugo Nagata)
+
+ Per bug #93
+
+===============================================================================
3.3.2 (tokakiboshi) 2013/11/29
@@ -333,9 +480,9 @@
===============================================================================
- 3.3 (tokakiboshi) 2013/07/30
+ 3.3.0 (tokakiboshi) 2013/07/30
-* Version 3.3
+* Version 3.3.0
This is the first version of pgpool-II 3.3 series.
That is, a "major version up" from 3.2 series.
@@ -721,8 +868,127 @@
- Add ssl_ca_cert and ssl_ca_cert_dir descriptions to the japanese document
(Yugo Nagata)
+
===============================================================================
3.2 Series (2012/08/03 - )
+===============================================================================
+
+ 3.2.8 (namameboshi) 2014/03/24
+
+* Version 3.2.8
+
+ This is a bugfix release against pgpool-II 3.2.7.
+
+ __________________________________________________________________
+
+* Bug fixes
+
+ - doc: Add mention about "listen queue" and how to increase the "backlog"
+ in the num_init_children section. (Tatsuo Ishii)
+
+ - Fix bug that watchdog status goes down even when only one of trusted
+ servers get unpingable (Yugo Nagata)
+
+ - Fix bad performance of unlogged tables detection code. (Tatsuo Ishii)
+
+ Pointed out at [pgpool-hackers: 435][[pgpool-general:2325].
+
+ - Fix primary node detection logic. (Tatsuo Ishii)
+
+ There's a possibility that primary node is not detected. This happens
+ in following situation. node 0: primary, node 1: standby. Node 0 goes
+ down. Health checking detects the fact but local status is not updated
+ yet. Primary node finding (find_primary_node) runs. Node 0's status is
+ yet healthy. Because find_primary_node fails to connect to node 0, it
+ immediately returns -1 and fails to find that fact that node 1 is now
+ primary.
+
+ Fix is just continuing to look for primary node when fails to connect
+ to a node.
+
+ Per [pgpool-general: 2409].
+
+ - Fix jdbc DML fails when operated in raw mode and auto commit is off.
+ (Tatsuo Ishii)
+
+ This is reported in bug #92.
+
+ - Fix query cache bug with extended protocol. (Tatsuo Ishii)
+
+ SELECT retrieves outdated cache even DML was executed in an expilicit
+ transaction. The bug had been there since in memory query cache was
+ born. Per [pgpool-general-jp: 1252].
+
+ - Add missing entries "relcache_size" and "check_temp_table" to show
+ pool_status (Tatsuo Ishii)
+
+ - Avoid to send queries to unrelated nodes in streaming replication mode.
+ (Tatsuo Ishii)
+
+ Pgpool-II sends certain queries, such as BEGIN, END and SET commands to
+ all of DB nodes. However in streaming replication mode, only primary
+ node and at most one standby node are only concerned (if primacy node
+ is selected as the load balance node, only 1 node is concerned).
+
+ See [pgpool-hackers: 464] for more details.
+
+ - Fix possible buffer overrun problem and memory leak. (Tatsuo Ishii)
+
+ Per Coverity 1111465 and 1111482.
+
+ - Fix possible buffer overrun. (Tatsuo Ishii)
+
+ Replace strcpy() with strlcpy(). Per Coverity report 1111478, 1111480,
+ 1111481.
+
+ - Fix freeing NULL. (Tatsuo Ishii)
+
+ Per Coverity 1111384.
+
+ - Do not enable query cache on materialized views. (Tatsuo Ishii)
+
+ Per bug #95.
+
+ - Fix memory leak. (Tatsuo Ishii)
+
+ Per Coverity 1111446.
+
+ - Fix a segmentation fault in parallel mode with system_db_hostname is
+ empty (Yugo Nagata)
+
+ - Fix to output debug messages in processing pgpool.conf with -d option
+ (Yugo Nagata)
+
+ Previously, some debug messages in pool_get_config() ware not output
+ even when -d option was used.
+
+ - Fix JDBC exception of prepared statement including now() in
+ replication mode (Yugo Nagata)
+
+ With JDBC, when a prepared statement is executed more than
+ PrepareThreshold times, the statement is named and Describe message
+ is sent after Parse. With named statement, pgpool rewrite now() to
+ parameter in replication mode. Hence, rewritten query has additonal
+ parameter than original. In this case, ParameterDescription message
+ sent to frontend (response of Describe) should include OIDs of the
+ same number os original query's parameters. Otherwize, JDBC throws
+ ArrayIndexoutOfBoundsException.
+
+ This is reported in [pgpool-general-jp: 1192].
+
+ - Fix backend error of prepared statement about table which has column whoes
+ default value is now() in replication mode (Yugo Nagata)
+
+ When pgpool parses a named prepared statement with default now(),
+ timestamps are replaced to additional parameters. So, Bind message also
+ should inclued additional parameter format codes. However, when the
+ number of original parameter was one, pgpool didn't handle this. This
+ caused a error like "incorrect binary data format in bind parameter 2".
+
+ - doc: Add description about parallel mode doesn't support PREPARE (Yugo Nagata)
+
+ Per bug #93
+
===============================================================================
3.2.7 (tokakiboshi) 2013/12/06
@@ -961,6 +1227,7 @@
3.2.6 (namameboshi) 2013/09/06
+
* Version 3.2.6
This is a bugfix release against pgpool-II 3.2.5.
@@ -1165,7 +1432,7 @@
with bind parameters, it fails to allocate enough memory.
- Move ssl_ca_cert and ssl_ca_cert_dir descriptions to the SSL section
- in the document (Yugo Nagata)
+ (Yugo Nagata)
- Add ssl_ca_cert and ssl_ca_cert_dir descriptions to the japanese document
(Yugo Nagata)
@@ -2286,21 +2553,122 @@
Also fix SimpleForwardToFrontend to return pool_write_and_flush error
status. Before it was ignored.
+
===============================================================================
3.1 Series (2011/09/08 - )
===============================================================================
- 3.1.10 (hatsuiboshi) 2013/12/06
+ 3.1.11 (hatsuiboshi) 2014/03/24
-* Version 3.1.9
+* Version 3.1.11
- This is a bugfix release against pgpool-II 3.1.9.
+ This is a bugfix release against pgpool-II 3.1.10.
__________________________________________________________________
* Bug fixes
+ - doc: Add mention about "listen queue" and how to increase the "backlog"
+ in the num_init_children section. (Tatsuo Ishii)
+
+ - Fix bad performance of unlogged tables detection code. (Tatsuo Ishii)
+
+ Pointed out at [pgpool-hackers: 435][[pgpool-general:2325].
+
+ - Fix primary node detection logic. (Tatsuo Ishii)
+
+ There's a possibility that primary node is not detected. This happens
+ in following situation. node 0: primary, node 1: standby. Node 0 goes
+ down. Health checking detects the fact but local status is not updated
+ yet. Primary node finding (find_primary_node) runs. Node 0's status is
+ yet healthy. Because find_primary_node fails to connect to node 0, it
+ immediately returns -1 and fails to find that fact that node 1 is now
+ primary.
+
+ Fix is just continuing to look for primary node when fails to connect
+ to a node.
+
+ Per [pgpool-general: 2409].
+
+ - Fix jdbc DML fails when operated in raw mode and auto commit is off.
+ (Tatsuo Ishii)
+
+ This is reported in bug #92.
+
+ - Avoid to send queries to unrelated nodes in streaming replication mode.
+ (Tatsuo Ishii)
+
+ Pgpool-II sends certain queries, such as BEGIN, END and SET commands to
+ all of DB nodes. However in streaming replication mode, only primary
+ node and at most one standby node are only concerned (if primacy node
+ is selected as the load balance node, only 1 node is concerned).
+
+ See [pgpool-hackers: 464] for more details.
+
+ - Fix possible buffer overrun problem and memory leak. (Tatsuo Ishii)
+
+ Per Coverity 1111465 and 1111482.
+
+ - Fix possible buffer overrun. (Tatsuo Ishii)
+
+ Replace strcpy() with strlcpy(). Per Coverity report 1111478, 1111480,
+ 1111481.
+
+ - Fix freeing NULL. (Tatsuo Ishii)
+
+ Per Coverity 1111384.
+
+ - Fix memory leak. (Tatsuo Ishii)
+ Per Coverity 1111446.
+
+ - Fix a segmentation fault in parallel mode with system_db_hostname is
+ empty (Yugo Nagata)
+
+ - Fix to output debug messages in processing pgpool.conf with -d option
+ (Yugo Nagata)
+
+ Previously, some debug messages in pool_get_config() ware not output
+ even when -d option was used.
+
+ - Fix JDBC exception of prepared statement including now() in
+ replication mode (Yugo Nagata)
+
+ With JDBC, when a prepared statement is executed more than
+ PrepareThreshold times, the statement is named and Describe message
+ is sent after Parse. With named statement, pgpool rewrite now() to
+ parameter in replication mode. Hence, rewritten query has additonal
+ parameter than original. In this case, ParameterDescription message
+ sent to frontend (response of Describe) should include OIDs of the
+ same number os original query's parameters. Otherwize, JDBC throws
+ ArrayIndexoutOfBoundsException.
+
+ This is reported in [pgpool-general-jp: 1192].
+
+ - Fix backend error of prepared statement about table which has column whoes
+ default value is now() in replication mode (Yugo Nagata)
+
+ When pgpool parses a named prepared statement with default now(),
+ timestamps are replaced to additional parameters. So, Bind message also
+ should inclued additional parameter format codes. However, when the
+ number of original parameter was one, pgpool didn't handle this. This
+ caused a error like "incorrect binary data format in bind parameter 2".
+
+ - doc: Add description about parallel mode doesn't support PREPARE (Yugo Nagata)
+
+ Per bug #93
+
+===============================================================================
+
+ 3.1.10 (hatsuiboshi) 2013/12/06
+
+* Version 3.1.10
+
+ This is a bugfix release against pgpool-II 3.1.9.
+
+ __________________________________________________________________
+
+* Bug fixes
- Fix incorrect time stamp rewriting in replication mode for certain time
zones. (Tatsuo Ishii)
@@ -2449,7 +2817,7 @@
* Version 3.1.9
- This is a bugfix release against pgpool-II 3.1.8.
+ This is a bugfix release against pgpool-II 3.1.8.
__________________________________________________________________
@@ -2481,7 +2849,7 @@
This is a bugfix release against pgpool-II 3.1.7.
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
@@ -2552,7 +2920,7 @@
FATAL: no PostgreSQL user name specified in startup packet
- Move ssl_ca_cert and ssl_ca_cert_dir descriptions to the SSL section
- in the document (Yugo Nagata)
+ (Yugo Nagata)
- Add ssl_ca_cert and ssl_ca_cert_dir descriptions to the japanese document
(Yugo Nagata)
@@ -2565,13 +2933,13 @@
===============================================================================
- 3.1.7 (hatsuiboshi) 2013/04/26
+ 3.1.7 (hatsuiboshi) 2013/4/26
* Version 3.1.7
- This is a bugfix release against pgpool-II 3.1.6.
+ This is a bugfix release against pgpool-II 3.1.6
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
@@ -2650,13 +3018,13 @@
===============================================================================
- 3.1.6 (hatsuiboshi) 2013/02/08
+ 3.1.6 (hatsuiboshi) 2013/2/8
* Version 3.1.6
This is a bugfix release against pgpool-II 3.1.5
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
@@ -2770,7 +3138,6 @@
- Add pool_passwd option to pgpool.conf.sample*, and documents. (Yugo Nagata)
-
===============================================================================
3.1.5 (hatsuiboshi) 2012/10/12
@@ -2779,7 +3146,7 @@
This is a bugfix release against pgpool-II 3.1.4
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
@@ -2842,7 +3209,6 @@
It seems the order of messages returned from backend is random, and
do_query () manages it by using state bits.
-
===============================================================================
3.1.4 (hatsuiboshi) 2012/08/06
@@ -2851,15 +3217,15 @@
This is a bugfix release against pgpool-II 3.1.3.
- __________________________________________________________________
-
-* Bug fixes
+ __________________________________________________________________
- * General
+* General
- Adopt PostgreSQL 9.2. (Tatsuo Ishii)
- * Bug fixes
+ __________________________________________________________________
+
+* Bug fixes
- Fix pool_send_and_wait() to send or not to send COMMIT / ABORT
depending on the transaction state on each node. (Tatsuo Ishii)
@@ -2959,7 +3325,7 @@
This is a bugfix release against pgpool-II 3.1.2.
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
@@ -3055,7 +3421,7 @@
This is a bugfix release against pgpool-II 3.1.1.
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
@@ -3071,7 +3437,6 @@
This could happen when, for example, reloading postgresql.conf.
The fix is that such buffer in standby is discarded.
-
===============================================================================
3.1.1 (hatsuiboshi) 2011/12/06
@@ -3080,45 +3445,45 @@
This is a bugfix release against pgpool-II 3.1.
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
- Fix add_regex_pattern(). It does not allocate enough memory
- for each black/white_function_list items.
- The function adds "^" and "$" to each function items which do not
- contain those characters. Unfortunately the function forgot to add
- extra 2 bytes for those characters. This may lead to memory
- corruption errors when pgpool starting up.
+ for each black/white_function_list items. The function adds
+ "^" and "$" to each function items which do not contain those
+ characters. Unfortunately the function forgot to add extra 2
+ bytes for those characters. This may lead to memory corruption
+ errors when pgpool starting up.
- - Fix error message of check_replication_time_lag(Tatsuo Ishii).
- It emitted wrong error message when it failed to connect to PostgreSQL
- while checking streaming replication delay.
- Because it does not use health_check_user anymore.
+ - Fix error message of check_replication_time_lag(Tatsuo
+ Ishii). It emitted wrong error message when it failed to
+ connect to PostgreSQL while checking streaming replication
+ delay. Because it does not use health_check_user anymore.
- Fix memory leak(Toshihiro Kitagawa). This is essentially same
- as the fix made for 3.0.5
- (commit 19a4ea9215da0b61728741fc0da2271958b09238).
+ as the fix made for 3.0.5(commit
+ 19a4ea9215da0b61728741fc0da2271958b09238).
- - Major cleanup for strncpy(Tatsuo Ishii).
- There are several places where strncpy() is used. Problem is some of
- them do not consider the case when copy lengh == buffer size.
- In this case copied buffer is not null terminated and may cause
- tons of problems later. To fix this, most of them are replaced by
- strlcpy().
+ - Major cleanup for strncpy(Tatsuo Ishii). There are several
+ places where strncpy() is used. Problem is some of them do not
+ consider the case when copy lengh == buffer size. In this case
+ copied buffer is not null terminated and may cause tons of
+ problems later. To fix this, most of them are replaced by
+ strlcpy().
- Update cached backend status whenever possible(Tatsuo Ishii).
- This solves the problem of follow_master_command not being
- able to lookup backend status correctly which was reported by
- Jeff Frost: Subject: [Pgpool-general] diagnosing BackendError
- from pcp_recovery_node To: pgpool-general@pgfoundry.org Date:
- Wed, 05 Oct 2011 15:15:07 -0700
+ This solves the problem of follow_master_command not being
+ able to lookup backend status correctly which was reported by
+ Jeff Frost: Subject: [Pgpool-general] diagnosing BackendError
+ from pcp_recovery_node To: pgpool-general@pgfoundry.org Date:
+ Wed, 05 Oct 2011 15:15:07 -0700
- - Fix buffer overrun problem when pcp password is longer than 32
- (Tatsuo Ishii).
+ - Fix buffer overrun problem when pcp password is longer than
+ 32(Tatsuo Ishii).
- - Remove PGDLLIMPORTI which is only neccessary for Windows and
- cause a problem for non gcc. Patch contributed by Ibrar Ahmed.
+ - Remove PGDLLIMPORTI which is only neccessary for Windows
+ and cause a problem for non gcc. Patch contributed by Ibrar Ahmed.
===============================================================================
@@ -3129,21 +3494,21 @@
This is the first version of pgpool-II 3.1 series.
That is, a "major version up" from 3.0 series.
- __________________________________________________________________
+ __________________________________________________________________
* Incompatible changes
- Change the lock method of insert_lock. The previous insert_lock uses
row locking against the sequence relation, but the current one uses
- row locking against pgpool_catalog.insert_lock table.
- The reason is that PostgreSQL core developers decided to disallow row
- locking against the sequence relation to avoid an internal error
- which it leads. So creating insert_lock table in all databases which are
- accessed via pgpool-II beforehand is required.
- If does not exist insert_lock table, pgpool-II locks the insert target
- table. This behavior is same as pgpool-II 2.2 and 2.3 series.
- If you want to use insert_lock which is compatible with older releases,
- you can specify lock method by configure options: --enable-sequence-lock,
+ row locking against pgpool_catalog.insert_lock table. The reason is
+ that PostgreSQL core developers decided to disallow row locking
+ against the sequence relation to avoid an internal error which it
+ leads. So creating insert_lock table in all databases which are
+ accessed via pgpool-II beforehand is required. If does not exist
+ insert_lock table, pgpool-II locks the insert target table. This
+ behavior is same as pgpool-II 2.2 and 2.3 series. If you want to use
+ insert_lock which is compatible with older releases, you can specify
+ lock method by configure options: --enable-sequence-lock,
--enable-table-lock(Toshihiro Kitagawa)
- Deprecate backend_socket_dir. Instead, if backend_hostname starts
@@ -3166,7 +3531,7 @@
they completely obey setting of black/white_function_list. They were
always handled as write functions before(Toshihiro Kitagawa)
- __________________________________________________________________
+ __________________________________________________________________
* New features
@@ -3198,7 +3563,8 @@
backend behavior. Currently "ALLOW_TO_FAILOVER" or
"DISALLOW_TO_FAILOVER" are allowed(Tatsuo Ishii)
- - Add health_check_password directive(Nicolas Thauvin)
+ - Add health_check_password directive, but is not yet implemented
+ (Nicolas Thauvin)
- Add sr_check_period, sr_check_user and sr_check_password directives.
These are used for streaming replication delay checking and
@@ -3219,7 +3585,7 @@
- In master/slave mode, SELECTs to unlogged table execute only on
master/primary(Toshihiro Kitagawa)
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
@@ -3257,8 +3623,7 @@
- Replace wrong function name "notice_backend_error" with correct one
"degenerate_backend_set" in the failover log message(Tatsuo Ishii)
- - Remove unnecessary logging at the end of pgpool.conf parsing
- (Tatsuo Ishii)
+ - Remove unnecessary logging at the end of pgpool.conf parsing(Tatsuo Ishii)
- Fix possible crash of pgpool/worker child after attaching new backend.
Fix suggested by Gurjeet Singh(Tatsuo Ishii)
@@ -3277,14 +3642,13 @@
- Fix some memory leaks(Toshihiro Kitagawa)
- __________________________________________________________________
+ __________________________________________________________________
* Enhancements
- Enhance online recovery in streaming replication mode.
- Now restarting pgpool-II children is avoided when recovery finished.
- So existing sessions can be continued while doing online recovery
- (Tatsuo Ishii)
+ Now restarting pgpool-II children is avoided when recovery finished. So
+ existing sessions can be continued while doing online recovery(Tatsuo Ishii)
- pcp_attach_node does not diconnect existing sessions in
streaming replication mode. In other mode, pcp_attache_node
@@ -3332,14 +3696,111 @@
===============================================================================
-3.0 Series (2010/09/10 - )
+3.0 Series (2013/07/30 - )
+===============================================================================
+
+ 3.0.15 (umiyameboshi) 2014/03/24
+
+* Version 3.0.15
+
+ This is a bugfix release against pgpool-II 3.0.14.
+
+ __________________________________________________________________
+
+* Bug fixes
+
+ - doc: Add mention about "listen queue" and how to increase the "backlog"
+ in the num_init_children section. (Tatsuo Ishii)
+
+ - Fix bad performance of unlogged tables detection code. (Tatsuo Ishii)
+
+ Pointed out at [pgpool-hackers: 435][[pgpool-general:2325].
+
+ - Fix primary node detection logic. (Tatsuo Ishii)
+
+ There's a possibility that primary node is not detected. This happens
+ in following situation. node 0: primary, node 1: standby. Node 0 goes
+ down. Health checking detects the fact but local status is not updated
+ yet. Primary node finding (find_primary_node) runs. Node 0's status is
+ yet healthy. Because find_primary_node fails to connect to node 0, it
+ immediately returns -1 and fails to find that fact that node 1 is now
+ primary.
+
+ Fix is just continuing to look for primary node when fails to connect
+ to a node.
+
+ Per [pgpool-general: 2409].
+
+ - Fix jdbc DML fails when operated in raw mode and auto commit is off.
+ (Tatsuo Ishii)
+
+ This is reported in bug #92.
+
+ - Avoid to send queries to unrelated nodes in streaming replication mode.
+ (Tatsuo Ishii)
+
+ Pgpool-II sends certain queries, such as BEGIN, END and SET commands to
+ all of DB nodes. However in streaming replication mode, only primary
+ node and at most one standby node are only concerned (if primacy node
+ is selected as the load balance node, only 1 node is concerned).
+
+ See [pgpool-hackers: 464] for more details.
+
+ - Fix possible buffer overrun problem and memory leak. (Tatsuo Ishii)
+
+ Per Coverity 1111465 and 1111482.
+
+ - Fix freeing NULL. (Tatsuo Ishii)
+
+ Per Coverity 1111384.
+
+ - Fix memory leak. (Tatsuo Ishii)
+
+ Per Coverity 1111446.
+
+ - Fix a segmentation fault in parallel mode with system_db_hostname is
+ empty (Yugo Nagata)
+
+ - Fix to output debug messages in processing pgpool.conf with -d option
+ (Yugo Nagata)
+
+ Previously, some debug messages in pool_get_config() ware not output
+ even when -d option was used.
+
+ - Fix JDBC exception of prepared statement including now() in
+ replication mode (Yugo Nagata)
+
+ With JDBC, when a prepared statement is executed more than
+ PrepareThreshold times, the statement is named and Describe message
+ is sent after Parse. With named statement, pgpool rewrite now() to
+ parameter in replication mode. Hence, rewritten query has additonal
+ parameter than original. In this case, ParameterDescription message
+ sent to frontend (response of Describe) should include OIDs of the
+ same number os original query's parameters. Otherwize, JDBC throws
+ ArrayIndexoutOfBoundsException.
+
+ This is reported in [pgpool-general-jp: 1192].
+
+ - Fix backend error of prepared statement about table which has column whoes
+ default value is now() in replication mode (Yugo Nagata)
+
+ When pgpool parses a named prepared statement with default now(),
+ timestamps are replaced to additional parameters. So, Bind message also
+ should inclued additional parameter format codes. However, when the
+ number of original parameter was one, pgpool didn't handle this. This
+ caused a error like "incorrect binary data format in bind parameter 2".
+
+ - doc: Add description about parallel mode doesn't support PREPARE (Yugo Nagata)
+
+ Per bug #93
+
===============================================================================
3.0.14 (umiyameboshi) 2013/12/06
-* Version 3.0.13
+* Version 3.0.14
- This is a bugfix release against pgpool-II 3.0.13.
+ This is a bugfix release against pgpool-II 3.0.13.
__________________________________________________________________
@@ -3456,11 +3917,12 @@
Per Coverity report #1111468.
===============================================================================
+
3.0.13 (umiyameboshi) 2013/09/06
* Version 3.0.13
- This is a bugfix release against pgpool-II 3.0.12.
+ This is a bugfix release against pgpool-II 3.0.12.
__________________________________________________________________
@@ -3490,9 +3952,9 @@
* Version 3.0.12
- This is a bugfix release against pgpool-II 3.0.11
+ This is a bugfix release against pgpool-II 3.0.11.
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
@@ -3559,7 +4021,7 @@
FATAL: no PostgreSQL user name specified in startup packet
- Move ssl_ca_cert and ssl_ca_cert_dir descriptions to the SSL section
- in the document (Yugo Nagata)
+ (Yugo Nagata)
- Add ssl_ca_cert and ssl_ca_cert_dir descriptions to the japanese document
(Yugo Nagata)
@@ -3570,18 +4032,17 @@
of recovery script, and this causes a malfunction. In especially,
rsync may delete unrelated files in basebackup scripts.
-
===============================================================================
- 3.0.11 (umiyameboshi) 2013/04/26
+ 3.0.11 (umiyameboshi) 2013/04/26
-* Version 3.1.7
+* Version 3.0.11
- This is a bugfix release against pgpool-II 3.1.6.
+ This is a bugfix release against pgpool-II 3.0.10.
- __________________________________________________________________
+ __________________________________________________________________
-* Bug fixes
+* Buf fixes
- Fix to show pool_passwd in "SHOW pool_status". (Yugo Nagata)
@@ -3662,11 +4123,11 @@
* Version 3.0.10
- This is a bugfix release against pgpool-II 3.0.9
+ This is a bugfix release against pgpool-II 3.0.9.
- __________________________________________________________________
+ __________________________________________________________________
-* Bug fixes
+* General
- Fix race condition when using md5 authentication. (Tatsuo Ishii)
@@ -3762,15 +4223,15 @@
===============================================================================
- 3.0.9 (umiyameboshi) 2012/10/12
+ 3.0.9 (umiyameboshi) 2012/10/12
* Version 3.0.9
- This is a bugfix release against pgpool-II 3.0.8
+ This is a bugfix release against pgpool-II 3.0.8.
- __________________________________________________________________
+ __________________________________________________________________
-* Bug fixes
+* General
- Fix read_startup_packet. (Tatsuo Ishii)
@@ -3833,21 +4294,21 @@
===============================================================================
- 3.0.8 (umiyameboshi) 2012/08/0
+ 3.0.8 (umiyameboshi) 2012/08/06
* Version 3.0.8
- This is a bugfix release against pgpool-II 3.0.7
-
- __________________________________________________________________
+ This is a bugfix release against pgpool-II 3.0.7.
-* Bug fixes
+ __________________________________________________________________
- * General
+* General
- Adopt PostgreSQL 9.2. (Tatsuo Ishii)
- * Bug fixes
+ __________________________________________________________________
+
+* Bug fixes
- Fix load balance in Solaris. (Tatsuo Ishii)
@@ -3894,7 +4355,7 @@
This is a bugfix release against pgpool-II 3.0.6.
- __________________________________________________________________
+ __________________________________________________________________
* Bug fixes
@@ -3930,6 +4391,10 @@
This version fixes various bugs since 3.0.5.
+ __________________________________________________________________
+
+* Bug fixes
+
- Fix infinite loop reported in this thread (Tatsuo Ishii):
http://www.pgpool.net/pipermail/pgpool-general/2011-December/000099.html
@@ -4027,8 +4492,7 @@
message(Toshihiro Kitagawa)
- Fix possible hangup that happen for the receiving timing of
- ReadyForQuery(Z) message after pgpool-II connects to backends
- (Toshihiro Kitagawa)
+ ReadyForQuery(Z) message after pgpool-II connects to backends(Toshihiro Kitagawa)
- Add description about parameters for recovery_1st_stage_command
and recovery_2nd_stage_command(Tatsuo Ishii)
@@ -4079,11 +4543,11 @@
* Incompatible changes
- Now installing C function "pgpool_walrecrunning()" is recommended
- if you plan to use streaming replication mode.
- This is necessary for better use of online recovery in the mode.
+ if you plan to use streaming replication mode.
+ This is necessary for better use of online recovery in the mode.
Also new variable "%P" can be used in the online recovery script.
- If you do not install the function, these functionalities Cannot
- be used(Tatsuo Ishii).
+ If you do not install the function, these functionalities cannot be
+ used(Tatsuo Ishii).
- In raw mode if there's only one DB node and if a problem arises
with the DB node, it will be brought to down status. However if
@@ -4114,14 +4578,12 @@
- Fix bug that debug_level directive doesn't work. Patch
contributed by Gilles Darold(Tatsuo Ishii)
- - Fix possible crash of pgpool child while doing failover
- (Toshihiro Kitagawa)
+ - Fix possible crash of pgpool child while doing failover(Toshihiro Kitagawa)
- Fix white/black_function_list so that it works correctly when user
calls function with schema name(Tatsuo Ishii)
- - Fix bug that DROP DATABASE fails by connection cache
- (Toshihiro Kitagawa)
+ - Fix bug that DROP DATABASE fails by connection cache(Toshihiro Kitagawa)
- Fix bug that failover fails in raw mode(Toshihiro Kitagawa)
@@ -4153,9 +4615,9 @@
system_db_password(Toshihiro Kitagawa)
- Fix online recovery problem in the streaming replication
- mode(Tatsuo Ishii).
- Consider following scenario. Suppose node 0 is the initial primary server
- and 1 is the initial standby server.
+ mode(Tatsuo Ishii). Consider following scenario. Suppose node 0 is
+ the initial primary server and 1 is the initial standby
+ server.
1) Node 0 going down and node 1 promotes to new primary.
2) Recover node 0 as new standby.
@@ -4221,7 +4683,7 @@
===============================================================================
- 3.0 (umiyameboshi) 2010/09/10
+ 3.0 (umiyameboshi) 2010/09/10
* Version 3.0
@@ -4301,11 +4763,10 @@
transaction(Tatsuo Ishii)
- In master/slave mode, SELECTs inside explicit transactions are
- load balanced(Tatsuo Ishii, Toshihiro Kitagawa)
+ load balanced(Tatsuo, Kitagawa)
- In master/slave mode, commands are no longer sent to all DB
- nodes. This will prevent unnecessary locking
- (Tatsuo Ishii, Toshihiro Kitagawa)
+ nodes. This will prevent unnecessary locking(Tatsuo, Kitagawa)
- New command option adds to ignore the status file when
starting up(Tatsuo Ishii)
@@ -4341,8 +4802,7 @@
added(Toshihiro Kitagawa)
- New C language function pgpool_regclass added to avoid a trouble
- about handling of duplicate table names in different schema
- (Tatsuo Ishii)
+ about handling of duplicate table names in different schema(Tatsuo Ishii)
__________________________________________________________________
@@ -4366,7 +4826,7 @@
===============================================================================
-2.3 Series (2009/12/07 - 2010/02/22)
+2.3 Series (2009/12/07 - 2012/08/06)
===============================================================================
2.3.4 (tomiteboshi) 2012/08/06
@@ -4745,7 +5205,7 @@
===============================================================================
-2.2 Series (2009/02/08 - 2010/04/15)
+2.2 Series (2009/02/08 - 2012/08/06)
===============================================================================
2.2.8 (urukiboshi) 2012/08/06
@@ -5461,7 +5921,7 @@
===============================================================================
- 1.0.0 (suboshi) 2006/09/08
+ 1.0 (suboshi) 2006/09/08
* Initial release
diff --git a/doc/pgpool-ja.html b/doc/pgpool-ja.html
index c156b2b28..3430d0f49 100644
--- a/doc/pgpool-ja.html
+++ b/doc/pgpool-ja.html
@@ -5964,12 +5964,242 @@ SELECTの最終実行ステータスとパフォーマンスのおおよその
<hr><a name="release3.3.x"></a>
<!-- -------------------------------------------------------------------------------- -->
-<h2><a name="release3.3.2"></a>3.3.2 (tokakiboshi) 2013/11/29</h2>
+<h2><a name="release3.3.3"></a>3.3.3 (tokakiboshi) 2014/03/24</h2>
<!-- -------------------------------------------------------------------------------- -->
+<h3>概要</h3>
+<p>
+このバージョンは 3.3.2 に対するバグ修正リリースです。
+</p>
+
+<h3>バグ修正</h3>
+<ul>
+
+<li>
+ installer: pgpool-II の RPM インストールが失敗するバグを修正しました。
+ (Yugo Nagata)
+</li>
+
+<li>
+ installer: localhost の apache ユーザから localhost の postgres ユーザにパスワードなし
+ SSH を設定するするように修正しました。(Yugo Nagata)
+</li>
+
+<li>
+ 再起動した pgpool-II の watchdog ステータスがダウンと見なされることがあるバグを修正しました。
+ (Yugo Nagata)
+</li>
+
+<li>
+ doc: num_init_children の項に「listen キュー」の説明とその「バックログ」を増やす方法について追記しました。
+ (Tatsuo Ishii)
+</li>
+
+<li>
+ 指定した上位サーバの内たった1台への ping が失敗した場合にも watchdog
+ ステータスがダウンになってしまうバグを修正しました。(Yugo Nagata)
+</li>
+
+<li>
+ UNLOGGED テーブルを検出する処理のパフォーマンスが悪かったのを修正しました。
+ (Tatsuo Ishii)
+ <p>
+ この問題は <a href="http://www.sraoss.jp/pipermail/pgpool-hackers/2014-January/000435.html">[pgpool-hackers: 435]</a>
+ <a href="http://www.sraoss.jp/pipermail/pgpool-general/2013-December/002354.html">[pgpool-general:2325]</a> で指摘されました。
+ </p>
+</li>
+
+<li>
+ プライマリノードの検出ロジックを修正しました。(Tatsuo Ishii)
+ <p>
+ プライマリノードが検出されないことがありました。例えば、node 0 がプライマリ、node 1
+ がスタンバイのときに、node 0 が落ちたとします。ヘルスチェックがそれを検出しますが、
+ 内部のステータスがまだ更新されていない場合 node 0 には問題がないよう見えるため node 0
+ への接続が試みられます。実際にはこの接続は失敗するため、node 1
+ が新プライマリであることを検出する前に処理が終了していました。
+ </p>
+ <p>
+ この問題は <a href="http://www.sraoss.jp/pipermail/pgpool-general/2014-January/002442.html">[pgpool-general: 2409]</a> にて報告されました。
+ </p>
+</li>
+
+<li>
+ pgpool_setup が raw モードに対応しました。(Tatsuo Ishii)
+</li>
+
+<li>
+ test: JDBC のテストをレグレッションテストに統合しました。(Tatsuo Ishii)
+</li>
+
+<li>
+ raw モードで自動コミットが off で JDBC を使用したときに、DML
+ が失敗するバグを修正しました。(Tatsuo Ishii)
+ <p>
+ この問題は <a href="http://www.pgpool.net/mantisbt/view.php?id=92">bug #92</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ wd_escalation_command が終了コード 0
+ 以外で終了したときにエラーメッセージを出力するように修正しました。(Yugo Nagata)
+ <p>
+ この修正は <a href="http://www.sraoss.jp/pipermail/pgpool-general/2014-January/002492.html">
+ [pgpool-general: 2457]</a> で Sergey Arlashin によって示唆されました。
+ </p>
+</li>
+
+<li>
+ test: クエリキャッシュのレグレッションテストを追加しました。(Tatsuo Ishii)
+</li>
+
+<li>
+ 拡張プロトコルにおけるクエリキャッシュのバグを修正しました。(Tatsuo Ishii)
+ <p>
+ 明示的なトランザクション内で DML が実行された場合でも、SELECT
+ 実行時に古いキャッシュが読み込まれていました。
+ これはインメモリクエリキャッシュが実装された時点から存在していたバグです。
+ </p>
+ <p>
+ <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2014-January/001251.html">
+ [pgpool-general-jp: 1252]</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ SHOW pool_status の結果から抜けていた relcashe_size と check_temp_table
+ を追加しました。(Tatsuo Ishii)
+</li>
+
+<li>
+ if_up_cmd が失敗した際にエラーメッセージを出力するよう修正しました。(Yugo Nagata)
+ <p>
+ この修正は <a href="http://www.sraoss.jp/pipermail/pgpool-general/2014-January/002492.html">
+ [pgpool-general: 2457]</a> で Sergey Arlashin によって示唆されました。
+ </p>
+</li>
+
+<li>
+ ストリーミングレプリケーションモードで無関係なノードにはクエリを送信しないように修正しました。
+ (Tatsuo Ishii)
+ <p>
+ pgpool-II は BEGIN, END, SET などのクエリを全ての DB ノードに送っています。
+ しかし、ストリーミングレプリケーションではプライマリノードと高々1台のスタンバイノードにしか送る必要がありません。
+ (もしプライマリノードがロードバランスノードとして選択されている場合には1台だけで充分です。)
+ </p>
+ <p>
+ 詳細は <a href="http://www.sraoss.jp/pipermail/pgpool-hackers/2014-February/000464.html">
+ [pgpool-hackers: 464]</a> を参照してください。
+ </p>
+</li>
+
+<li>
+ バッファオーバランとメモリリークの可能性を修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111465, 1111482 の報告によります。
+ </p>
+</li>
+
+<li>
+ バッファオーバランを修正しました。(Tatsuo Ishii)
+ <p>
+ strcpy() を strlcpy() で置き換えました。Coverity 1111478, 1111480 の報告によります。
+ </p>
+</li>
+
+<li>
+ if_up_cmd のエラーを解析するためのデバッグメッセージを追加しました。(Yugo Nagata)
+</li>
+
+<li>
+ NULL ポインタの開放を修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111384 の報告によります。
+ </p>
+</li>
+
+<li>
+ マテリアライズドビューをキャッシュしないよう修正しました。(Tatsuo Ishii)
+ <p>
+ <a href="http://www.pgpool.net/mantisbt/view.php?id=92">bug #95</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ メモリリークを修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111446 の報告によります。
+ </p>
+</li>
+
+<li>
+ パラレルモードで system_db_hostname
+ が空欄の場合に発生するセグメンテーションフォルトを修正しました。
+ (Yugo Nagata)
+</li>
+
+<li>
+ -d オプションで起動した場合に pgpool.conf
+ の処理中のデバッグメッセージを出力するように修正しました
+ (Yugo Nagata)
+ <p>
+ 以前は -d オプション使用時でも出力されていないデバッグメッセージがありました。
+ </p>
+</li>
+
+<li>
+ レプリケーションモードで JDBC 使用時に now()
+ を含む準備文で発生する例外を修正しました。(Yugo Nagata)
+ <p>
+ JDBC で準備文を PrepareThreshold 回以上実行した場合には、文に名前が付けられ Parse
+ の後に Describe メッセージが発行されます。このとき、pgpool は now()
+ をパラメータに書き換えるため、元のクエリには無かった新しいパラメータが追加されます。
+ この場合、フロントエンドに返されるParameterDscription メッセージ(Describe
+ の返答)は、元のクエリが持つパラメータと同じ数の OID を含むべきです。そうしないと、JDBC
+ はArrayIndexoutOfBoundsException 例外を発生させてしまいます。
+ </p>
+ <p>
+ このバグは <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2013-September/001191.html">
+ [pgpool-general-jp: 1192]</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ レプリケーションモードにて、デフォルト値が now()
+ のカラムを持つテーブルに対する準備文でエラーが発生するバグを修正しました。
+ (Yugo Nagata)
+ <p>
+ デフォルト値が now() を持つ名前付き準備文を parse する際に、pgpool-II
+ は時刻値をパラメータで置き換えます。そのため、その後の bind
+ メッセージも追加されたパラメータの形式コードを含んでいる必要があります。
+ しかし、元のクエリのパラーメータ形式数が1だった場合、この処理がなされていませんでした。これが
+ "incorrect binary data format in bind parameter 2" のようなエラーの原因となっていました。
+ </p>
+</li>
+
+<li>
+ test: JDBC のレグレッションテストでテスト失敗時でも ok と出力されるバグを修正しました。
+ (Yugo Nagata)
+</li>
+
+<li>
+ test: JDBC の PrepareThreshold に関するレグレッションテストを追加しました。(Yugo Nagata)
+</li>
+
+<li>
+ doc: パラレルモードは PREPARE 文の実行に対応していないことを追記しました。(Yugo Nagata)
+ <p>
+ <a href="http://www.pgpool.net/mantisbt/view.php?id=93">bug #93</a> の指摘によります。
+ </p>
+</li>
+</ul>
+
+<!-- -------------------------------------------------------------------------------- -->
+<h2><a name="release3.3.2"></a>3.3.2 (tokakiboshi) 2013/11/29</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンは 3.3.1 に対するバグ修正リリースです。
+</p>
<h3>バグ修正</h3>
<ul>
@@ -6178,7 +6408,6 @@ parse によるロックが残存するためです。</p>
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.3.1"></a>3.3.1 (tokakiboshi) 2013/09/06</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは 3.3.0 に対するバグ修正リリースです。
@@ -6278,7 +6507,6 @@ parse によるロックが残存するためです。</p>
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.3.0"></a>3.3.0 (tokakiboshi) 2013/07/30</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは 3.3 系列の最初の版で、3.2 系からの「メジャーバージョンアップ」にあたります。
@@ -6721,12 +6949,185 @@ FATAL: no PostgreSQL user name specified in startup packet
<hr><a name="release3.2.x"></a>
<!-- -------------------------------------------------------------------------------- -->
-<h2><a name="release3.2.7"></a>3.2.7 (tokakiboshi) 2013/12/06</h2>
+<h2><a name="release3.2.8"></a>3.2.8 (namameboshi) 2014/03/24</h2>
<!-- -------------------------------------------------------------------------------- -->
+<h3>概要</h3>
+<p>
+このバージョンは 3.2.7 に対するバグ修正リリースです。
+</p>
+
+<h3>バグ修正</h3>
+<ul>
+
+<li>
+ doc: num_init_children の項に「listen キュー」の説明とその「バックログ」を増やす方法について追記しました。
+ (Tatsuo Ishii)
+</li>
+
+<li>
+ 指定した上位サーバの内たった1台への ping が失敗した場合にも watchdog
+ ステータスがダウンになってしまうバグを修正しました。(Yugo Nagata)
+</li>
+
+<li>
+ UNLOGGED テーブルを検出する処理のパフォーマンスが悪かったのを修正しました。
+ (Tatsuo Ishii)
+ <p>
+ この問題は <a href="http://www.sraoss.jp/pipermail/pgpool-hackers/2014-January/000435.html">[pgpool-hackers: 435]</a>
+ <a href="http://www.sraoss.jp/pipermail/pgpool-general/2013-December/002354.html">[pgpool-general:2325]</a> で指摘されました。
+ </p>
+</li>
+
+<li>
+ プライマリノードの検出ロジックを修正しました。(Tatsuo Ishii)
+ <p>
+ プライマリノードが検出されないことがありました。例えば、node 0 がプライマリ、node 1
+ がスタンバイのときに、node 0 が落ちたとします。ヘルスチェックがそれを検出しますが、
+ 内部のステータスがまだ更新されていない場合 node 0 には問題がないよう見えるため node 0
+ への接続が試みられます。実際にはこの接続は失敗するため、node 1
+ が新プライマリであることを検出する前に処理が終了していました。
+ </p>
+ <p>
+ この問題は <a href="http://www.sraoss.jp/pipermail/pgpool-general/2014-January/002442.html">[pgpool-general: 2409]</a> にて報告されました。
+ </p>
+</li>
+
+<li>
+ raw モードで自動コミットが off で JDBC を使用したときに、DML
+ が失敗するバグを修正しました。(Tatsuo Ishii)
+ <p>
+ この問題は <a href="http://www.pgpool.net/mantisbt/view.php?id=92">bug #92</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ 拡張プロトコルにおけるクエリキャッシュのバグを修正しました。(Tatsuo Ishii)
+ <p>
+ 明示的なトランザクション内で DML が実行された場合でも、SELECT
+ 実行時に古いキャッシュが読み込まれていました。
+ これはインメモリクエリキャッシュが実装された時点から存在していたバグです。
+ </p>
+ <p>
+ <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2014-January/001251.html">
+ [pgpool-general-jp: 1252]</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ SHOW pool_status の結果から抜けていた relcashe_size と check_temp_table
+ を追加しました。(Tatsuo Ishii)
+</li>
+
+<li>
+ ストリーミングレプリケーションモードで無関係なノードにはクエリを送信しないように修正しました。
+ (Tatsuo Ishii)
+ <p>
+ pgpool-II は BEGIN, END, SET などのクエリを全ての DB ノードに送っています。
+ しかし、ストリーミングレプリケーションではプライマリノードと高々1台のスタンバイノードにしか送る必要がありません。
+ (もしプライマリノードがロードバランスノードとして選択されている場合には1台だけで充分です。)
+ </p>
+ <p>
+ 詳細は <a href="http://www.sraoss.jp/pipermail/pgpool-hackers/2014-February/000464.html">
+ [pgpool-hackers: 464]</a> を参照してください。
+ </p>
+</li>
+<li>
+ バッファオーバランとメモリリークの可能性を修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111465, 1111482 の報告によります。
+ </p>
+</li>
+
+<li>
+ バッファオーバランを修正しました。(Tatsuo Ishii)
+ <p>
+ strcpy() を strlcpy() で置き換えました。Coverity 1111478, 1111480 の報告によります。
+ </p>
+</li>
+
+<li>
+ NULL ポインタの開放を修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111384 の報告によります。
+ </p>
+</li>
+
+<li>
+ マテリアライズドビューをキャッシュしないよう修正しました。(Tatsuo Ishii)
+ <p>
+ <a href="http://www.pgpool.net/mantisbt/view.php?id=92">bug #95</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ メモリリークを修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111446 の報告によります。
+ </p>
+</li>
+
+<li>
+ パラレルモードで system_db_hostname
+ が空欄の場合に発生するセグメンテーションフォルトを修正しました。
+ (Yugo Nagata)
+</li>
+
+<li>
+ -d オプションで起動した場合に pgpool.conf
+ の処理中のデバッグメッセージを出力するように修正しました
+ (Yugo Nagata)
+ <p>
+ 以前は -d オプション使用時でも出力されていないデバッグメッセージがありました。
+ </p>
+</li>
+
+<li>
+ レプリケーションモードで JDBC 使用時に now()
+ を含む準備文で発生する例外を修正しました。(Yugo Nagata)
+ <p>
+ JDBC で準備文を PrepareThreshold 回以上実行した場合には、文に名前が付けられ Parse
+ の後に Describe メッセージが発行されます。このとき、pgpool は now()
+ をパラメータに書き換えるため、元のクエリには無かった新しいパラメータが追加されます。
+ この場合、フロントエンドに返されるParameterDscription メッセージ(Describe
+ の返答)は、元のクエリが持つパラメータと同じ数の OID を含むべきです。そうしないと、JDBC
+ はArrayIndexoutOfBoundsException 例外を発生させてしまいます。
+ </p>
+ <p>
+ このバグは <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2013-September/001191.html">
+ [pgpool-general-jp: 1192]</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ レプリケーションモードにて、デフォルト値が now()
+ のカラムを持つテーブルに対する準備文でエラーが発生するバグを修正しました。
+ (Yugo Nagata)
+ <p>
+ デフォルト値が now() を持つ名前付き準備文を parse する際に、pgpool-II
+ は時刻値をパラメータで置き換えます。そのため、その後の bind
+ メッセージも追加されたパラメータの形式コードを含んでいる必要があります。
+ しかし、元のクエリのパラーメータ形式数が1だった場合、この処理がなされていませんでした。これが
+ "incorrect binary data format in bind parameter 2" のようなエラーの原因となっていました。
+ </p>
+</li>
+
+<li>
+ doc: パラレルモードは PREPARE 文の実行に対応していないことを追記しました。(Yugo Nagata)
+ <p>
+ <a href="http://www.pgpool.net/mantisbt/view.php?id=93">bug #93</a> の指摘によります。
+ </p>
+</li>
+
+</ul>
+
+<!-- -------------------------------------------------------------------------------- -->
+<h2><a name="release3.2.7"></a>3.2.7 (namameboshi) 2013/12/06</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンは 3.2.7 に対するバグ修正リリースです。
+</p>
<h3>バグ修正</h3>
<ul>
@@ -6740,7 +7141,7 @@ FATAL: no PostgreSQL user name specified in startup packet
<li>Makefile: Makefiles 内の pg_config を $(PG_CONFIG) に置き換えました。
したがって、PostgreSQL のメジャーバージョンが異なる場合には、コンパイル中で上書きされるようになります。(Tatsuo Ishii)
-<p>パッチは Christoph Berg さんから提供されました。(<a href="ttp://www.sraoss.jp/pipermail/pgpool-general/2013-September/002156.html" target="_blank">[pgpool-general: 2127]</a>)</p>
+<p>パッチは Christoph Berg さんから提供されました。(<a href="http://www.sraoss.jp/pipermail/pgpool-general/2013-September/002156.html" target="_blank">[pgpool-general: 2127]</a>)</p>
</li>
<li>pgpool.conf で <a href="#LOG_STANDBY_DELAY">log_standby_delay</a> を設定してないときに
@@ -6906,7 +7307,6 @@ parse によるロックが残存するためです。</p>
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.2.6"></a>3.2.6 (namameboshi) 2013/09/06</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは 3.2.5 に対するバグ修正リリースです。
@@ -7002,7 +7402,6 @@ parse によるロックが残存するためです。</p>
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.2.5"></a>3.2.5 (namameboshi) 2013/07/10</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>このバージョンは 3.2.4 に対するバグ修正リリースです。</p>
@@ -7177,7 +7576,6 @@ FATAL: no PostgreSQL user name specified in startup packet
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.2.4"></a>3.2.4 (namameboshi) 2013/04/26</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>このバージョンは 3.2.3 に対するバグ修正リリースです。</p>
@@ -7334,7 +7732,6 @@ FATAL: no PostgreSQL user name specified in startup packet
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.2.3"></a>3.2.3 (namameboshi) 2013/02/18</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>pgpool-II 3.2.2 に対するバグ修正リリースです。
おもに、3.2.2 のヘルスチェックに関する致命的な問題を修正するものです。</p>
@@ -7392,7 +7789,6 @@ FATAL: no PostgreSQL user name specified in startup packet
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.2.2"></a>3.2.2 (namameboshi) 2013/02/08</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>このバージョンは 3.2.1 に対するバグ修正リリースです。</p>
@@ -7797,7 +8193,6 @@ Session 1: LISTEN aaa; --- ハング
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.2.1"></a>3.2.1 (namameboshi) 2012/10/12</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは 3.2.0 に対するバグ修正リリースです。
@@ -8011,7 +8406,6 @@ Session 1: LISTEN aaa; --- ハング
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.2.0"></a>3.2.0 (namameboshi) 2012/08/03</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは 3.2 系列の最初の版で、3.1 系からの「メジャーバージョンアップ」にあたります。
@@ -8579,9 +8973,152 @@ autoconf
<hr><a name="release3.1.x"></a>
<!-- -------------------------------------------------------------------------------- -->
-<h2><a name="release3.1.10"></a>3.1.10 (tokakiboshi) 2013/12/06</h2>
+<h2><a name="release3.1.11"></a>3.1.11 (hatsuiboshi) 2014/03/24</h2>
<!-- -------------------------------------------------------------------------------- -->
+<h3>概要</h3>
+<p>
+このバージョンは 3.1.10 に対するバグ修正リリースです。
+</p>
+
+<h3>バグ修正</h3>
+<ul>
+
+<li>
+ doc: num_init_children の項に「listen キュー」の説明とその「バックログ」を増やす方法について追記しました。
+ (Tatsuo Ishii)
+</li>
+
+<li>
+ UNLOGGED テーブルを検出する処理のパフォーマンスが悪かったのを修正しました。
+ (Tatsuo Ishii)
+ <p>
+ この問題は <a href="http://www.sraoss.jp/pipermail/pgpool-hackers/2014-January/000435.html">[pgpool-hackers: 435]</a>
+ <a href="http://www.sraoss.jp/pipermail/pgpool-general/2013-December/002354.html">[pgpool-general:2325]</a> で指摘されました。
+ </p>
+</li>
+
+<li>
+ プライマリノードの検出ロジックを修正しました。(Tatsuo Ishii)
+ <p>
+ プライマリノードが検出されないことがありました。例えば、node 0 がプライマリ、node 1
+ がスタンバイのときに、node 0 が落ちたとします。ヘルスチェックがそれを検出しますが、
+ 内部のステータスがまだ更新されていない場合 node 0 には問題がないよう見えるため node 0
+ への接続が試みられます。実際にはこの接続は失敗するため、node 1
+ が新プライマリであることを検出する前に処理が終了していました。
+ </p>
+ <p>
+ この問題は <a href="http://www.sraoss.jp/pipermail/pgpool-general/2014-January/002442.html">[pgpool-general: 2409]</a> にて報告されました。
+ </p>
+</li>
+
+<li>
+ raw モードで自動コミットが off で JDBC を使用したときに、DML
+ が失敗するバグを修正しました。(Tatsuo Ishii)
+ <p>
+ この問題は <a href="http://www.pgpool.net/mantisbt/view.php?id=92">bug #92</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ ストリーミングレプリケーションモードで無関係なノードにはクエリを送信しないように修正しました。
+ (Tatsuo Ishii)
+ <p>
+ pgpool-II は BEGIN, END, SET などのクエリを全ての DB ノードに送っています。
+ しかし、ストリーミングレプリケーションではプライマリノードと高々1台のスタンバイノードにしか送る必要がありません。
+ (もしプライマリノードがロードバランスノードとして選択されている場合には1台だけで充分です。)
+ </p>
+ <p>
+ 詳細は <a href="http://www.sraoss.jp/pipermail/pgpool-hackers/2014-February/000464.html">
+ [pgpool-hackers: 464]</a> を参照してください。
+ </p>
+</li>
+
+<li>
+ バッファオーバランとメモリリークの可能性を修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111465, 1111482 の報告によります。
+ </p>
+</li>
+
+<li>
+ バッファオーバランを修正しました。(Tatsuo Ishii)
+ <p>
+ strcpy() を strlcpy() で置き換えました。Coverity 1111478, 1111480 の報告によります。
+ </p>
+</li>
+
+<li>
+ NULL ポインタの開放を修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111384 の報告によります。
+ </p>
+</li>
+
+<li>
+ メモリリークを修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111446 の報告によります。
+ </p>
+</li>
+
+<li>
+ パラレルモードで system_db_hostname
+ が空欄の場合に発生するセグメンテーションフォルトを修正しました。
+ (Yugo Nagata)
+</li>
+
+<li>
+ -d オプションで起動した場合に pgpool.conf
+ の処理中のデバッグメッセージを出力するように修正しました
+ (Yugo Nagata)
+ <p>
+ 以前は -d オプション使用時でも出力されていないデバッグメッセージがありました。
+ </p>
+</li>
+
+<li>
+ レプリケーションモードで JDBC 使用時に now()
+ を含む準備文で発生する例外を修正しました。(Yugo Nagata)
+ <p>
+ JDBC で準備文を PrepareThreshold 回以上実行した場合には、文に名前が付けられ Parse
+ の後に Describe メッセージが発行されます。このとき、pgpool は now()
+ をパラメータに書き換えるため、元のクエリには無かった新しいパラメータが追加されます。
+ この場合、フロントエンドに返されるParameterDscription メッセージ(Describe
+ の返答)は、元のクエリが持つパラメータと同じ数の OID を含むべきです。そうしないと、JDBC
+ はArrayIndexoutOfBoundsException 例外を発生させてしまいます。
+ </p>
+ <p>
+ このバグは <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2013-September/001191.html">
+ [pgpool-general-jp: 1192]</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ レプリケーションモードにて、デフォルト値が now()
+ のカラムを持つテーブルに対する準備文でエラーが発生するバグを修正しました。
+ (Yugo Nagata)
+ <p>
+ デフォルト値が now() を持つ名前付き準備文を parse する際に、pgpool-II
+ は時刻値をパラメータで置き換えます。そのため、その後の bind
+ メッセージも追加されたパラメータの形式コードを含んでいる必要があります。
+ しかし、元のクエリのパラーメータ形式数が1だった場合、この処理がなされていませんでした。これが
+ "incorrect binary data format in bind parameter 2" のようなエラーの原因となっていました。
+ </p>
+</li>
+
+<li>
+ doc: パラレルモードは PREPARE 文の実行に対応していないことを追記しました。(Yugo Nagata)
+ <p>
+ <a href="http://www.pgpool.net/mantisbt/view.php?id=93">bug #93</a> の指摘によります。
+ </p>
+</li>
+
+</ul>
+
+<!-- -------------------------------------------------------------------------------- -->
+<h2><a name="release3.1.10"></a>3.1.10 (hatsuiboshi) 2013/12/06</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンは 3.1.9 に対するバグ修正リリースです。
@@ -8599,7 +9136,7 @@ autoconf
<li>Makefile: Makefiles 内の pg_config を $(PG_CONFIG) に置き換えました。
したがって、PostgreSQL のメジャーバージョンが異なる場合には、コンパイル中で上書きされるようになります。(Tatsuo Ishii)
-<p>パッチは Christoph Berg さんから提供されました。(<a href="ttp://www.sraoss.jp/pipermail/pgpool-general/2013-September/002156.html" target="_blank">[pgpool-general: 2127]</a>)</p>
+<p>パッチは Christoph Berg さんから提供されました。(<a href="http://www.sraoss.jp/pipermail/pgpool-general/2013-September/002156.html" target="_blank">[pgpool-general: 2127]</a>)</p>
</li>
<li>configure: FreeBSD で問題があったため、-lcompat を削除しました。(Tatsuo Ishii)
@@ -8674,7 +9211,7 @@ parse によるロックが残存するためです。</p>
<li>pgpool_catalog への public access を許可していませんでした。
<p>これは、pgpool_catalog がレプリケーションモードで作成されている場合に、
ユーザテーブルにデータを INSERT すると発生します。</p>
-<p>この不具合は <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2013-November/001228.htm" target="_blank">[pgpool-general-jp: 1229]</a> で報告されました。</p>
+<p>この不具合は <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2013-November/001228.html" target="_blank">[pgpool-general-jp: 1229]</a> で報告されました。</p>
</li>
<li>pool_do_auth() のエラーケースで変数を初期化していませんでした。 (Tatsuo Ishii)
@@ -8712,10 +9249,11 @@ parse によるロックが残存するためです。</p>
<li>Coverity で見つかったさまざまな不具合を修正しました。(Tatsuo Ishii)</li>
+</ul>
+
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.1.9"></a>3.1.9 (hatsuiboshi) 2013/09/06</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは 3.1.8 に対するバグ修正リリースです。
@@ -8870,7 +9408,6 @@ pcp_recovery_node コマンドで、バックエンドノード番号をチェ
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.1.7"></a>3.1.7 (hatsuiboshi) 2013/04/26</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは 3.1.6 に対するバグ修正リリースです。
@@ -8987,9 +9524,8 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
</ul>
<!-- -------------------------------------------------------------------------------- -->
-<h2><a name="release3.1.6"></a>3.1.5 (hatsuiboshi) 2013/02/08</h2>
+<h2><a name="release3.1.6"></a>3.1.6 (hatsuiboshi) 2013/02/08</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>このバージョンは3.1.5に対するバグ修正リリースです。</p>
<ul>
@@ -9042,30 +9578,12 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
バグトラック #33 に投稿された valgrind 実行結果(dudee さんによる)にて報告されました。
</p>
<blockquote>
- #33 pgpool-II 3.2.1 segfault<br />
- Reporter: dudee<br />
- Date: 2012-10-30 19:16<br />
- <a href="http://www.pgpool.net/mantisbt/view.php?id=33">
- http://www.pgpool.net/mantisbt/view.php?id=33</a>
-</blockquote>
-</li>
-
-<li>通常のテーブルと同名の一時テーブルがあるときに、クエリキャッシュの結果が不正になる
- バグを修正しました。 (Tatsuo Ishii)
-<p>
- 以下はバグを引き起こす処理の例です。
-</p>
-<pre>
- 1) CREATE TABLE t1(i int); -- 通常のテーブルを作成
- 2) INSERT INTO t1 VALUES(1);
- 3) SELECT * FROM t1; -- クエリキャッシュが作成される
- 4) CREATE TEMP TABLE t1(i int); -- 一時テーブルの作成
- 5) SELECT * FROM t1; -- 誤ったクエリキャッシュが作成される!
-</pre>
-<p>
- #3 で t1 のキャッシュが生成されますが、#5 でこれが不正に使われており、一時テーブル t1 が
- 一時テーブルと見なされていないのが問題でした。
-</p>
+ #33 pgpool-II 3.2.1 segfault<br />
+ Reporter: dudee<br />
+ Date: 2012-10-30 19:16<br />
+ <a href="http://www.pgpool.net/mantisbt/view.php?id=33">
+ http://www.pgpool.net/mantisbt/view.php?id=33</a>
+</blockquote>
</li>
<li>ヘルプメッセージに -f オプションの説明を追加しました。 (Tatsuo Ishii)</li>
@@ -9176,7 +9694,6 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.1.5"></a>3.1.5 (hatsuiboshi) 2012/10/12</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>このバージョンは3.1.4に対するバグ修正リリースです。</p>
@@ -9272,7 +9789,6 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.1.4"></a>3.1.4 (hatsuiboshi) 2012/08/06</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>このバージョンは3.1.3に対するバグ修正リリースです。</p>
<p>また、PostgreSQL 9.2 に対応しました。</p>
@@ -9405,9 +9921,8 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
</ul>
<!-- -------------------------------------------------------------------------------- -->
-<h2><a name="release3.1.3"></a>3.1.3 (hatsuiboshi) 2012/01/31</h2>
+<h2><a name="release3.1.3"></a>3.1.3 (hatsuiboshi) 2012/04/23</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは3.1.2に対するバグ修正リリースです。
@@ -9490,7 +10005,6 @@ Tominari Katsumata さんの報告に基づきます。
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.1.2"></a>3.1.2 (hatsuiboshi) 2012/01/31</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは3.1.1に対するバグ修正リリースです。
@@ -9567,9 +10081,8 @@ Date: Wed, 05 Oct 2011 15:15:07 -0700
</ul>
<!-- -------------------------------------------------------------------------------- -->
-<h2><a name="release3.1.0"></a>3.1.0 (hatsuiboshi) 2011/09/08</h2>
+<h2><a name="release3.1"></a>3.1 (hatsuiboshi) 2011/09/08</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは3.1系列の最初の版で、3.0系からの「メジャーバージョンアップ」にあたります。
@@ -9768,9 +10281,145 @@ Date: Wed, 05 Oct 2011 15:15:07 -0700
<hr><a name="release3.0.x"></a>
<!-- -------------------------------------------------------------------------------- -->
-<h2><a name="release3.0.14"></a>3.0.14 (umiyameboshi) 2013/12/06</h2>
+<h2><a name="release3.0.15"></a>3.0.15 (umiyameboshi) 2014/03/24</h2>
<!-- -------------------------------------------------------------------------------- -->
+<h3>概要</h3>
+<p>
+このバージョンは 3.0.14 に対するバグ修正リリースです。
+</p>
+
+<h3>バグ修正</h3>
+<ul>
+
+<li>
+ doc: num_init_children の項に「listen キュー」の説明とその「バックログ」を増やす方法について追記しました。
+ (Tatsuo Ishii)
+</li>
+
+<li>
+ UNLOGGED テーブルを検出する処理のパフォーマンスが悪かったのを修正しました。
+ (Tatsuo Ishii)
+ <p>
+ この問題は <a href="http://www.sraoss.jp/pipermail/pgpool-hackers/2014-January/000435.html">[pgpool-hackers: 435]</a>
+ <a href="http://www.sraoss.jp/pipermail/pgpool-general/2013-December/002354.html">[pgpool-general:2325]</a> で指摘されました。
+ </p>
+</li>
+
+<li>
+ プライマリノードの検出ロジックを修正しました。(Tatsuo Ishii)
+ <p>
+ プライマリノードが検出されないことがありました。例えば、node 0 がプライマリ、node 1
+ がスタンバイのときに、node 0 が落ちたとします。ヘルスチェックがそれを検出しますが、
+ 内部のステータスがまだ更新されていない場合 node 0 には問題がないよう見えるため node 0
+ への接続が試みられます。実際にはこの接続は失敗するため、node 1
+ が新プライマリであることを検出する前に処理が終了していました。
+ </p>
+ <p>
+ この問題は <a href="http://www.sraoss.jp/pipermail/pgpool-general/2014-January/002442.html">[pgpool-general: 2409]</a> にて報告されました。
+ </p>
+</li>
+
+<li>
+ raw モードで自動コミットが off で JDBC を使用したときに、DML
+ が失敗するバグを修正しました。(Tatsuo Ishii)
+ <p>
+ この問題は <a href="http://www.pgpool.net/mantisbt/view.php?id=92">bug #92</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ ストリーミングレプリケーションモードで無関係なノードにはクエリを送信しないように修正しました。
+ (Tatsuo Ishii)
+ <p>
+ pgpool-II は BEGIN, END, SET などのクエリを全ての DB ノードに送っています。
+ しかし、ストリーミングレプリケーションではプライマリノードと高々1台のスタンバイノードにしか送る必要がありません。
+ (もしプライマリノードがロードバランスノードとして選択されている場合には1台だけで充分です。)
+ </p>
+ <p>
+ 詳細は <a href="http://www.sraoss.jp/pipermail/pgpool-hackers/2014-February/000464.html">
+ [pgpool-hackers: 464]</a> を参照してください。
+ </p>
+</li>
+
+<li>
+ バッファオーバランとメモリリークの可能性を修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111465, 1111482 の報告によります。
+ </p>
+</li>
+
+<li>
+ NULL ポインタの開放を修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111384 の報告によります。
+ </p>
+</li>
+
+<li>
+ メモリリークを修正しました。(Tatsuo Ishii)
+ <p>
+ Coverity 1111446 の報告によります。
+ </p>
+</li>
+
+<li>
+ パラレルモードで system_db_hostname
+ が空欄の場合に発生するセグメンテーションフォルトを修正しました。
+ (Yugo Nagata)
+</li>
+
+<li>
+ -d オプションで起動した場合に pgpool.conf
+ の処理中のデバッグメッセージを出力するように修正しました
+ (Yugo Nagata)
+ <p>
+ 以前は -d オプション使用時でも出力されていないデバッグメッセージがありました。
+ </p>
+</li>
+
+<li>
+ レプリケーションモードで JDBC 使用時に now()
+ を含む準備文で発生する例外を修正しました。(Yugo Nagata)
+ <p>
+ JDBC で準備文を PrepareThreshold 回以上実行した場合には、文に名前が付けられ Parse
+ の後に Describe メッセージが発行されます。このとき、pgpool は now()
+ をパラメータに書き換えるため、元のクエリには無かった新しいパラメータが追加されます。
+ この場合、フロントエンドに返されるParameterDscription メッセージ(Describe
+ の返答)は、元のクエリが持つパラメータと同じ数の OID を含むべきです。そうしないと、JDBC
+ はArrayIndexoutOfBoundsException 例外を発生させてしまいます。
+ </p>
+ <p>
+ このバグは <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2013-September/001191.html">
+ [pgpool-general-jp: 1192]</a> で報告されました。
+ </p>
+</li>
+
+<li>
+ レプリケーションモードにて、デフォルト値が now()
+ のカラムを持つテーブルに対する準備文でエラーが発生するバグを修正しました。
+ (Yugo Nagata)
+ <p>
+ デフォルト値が now() を持つ名前付き準備文を parse する際に、pgpool-II
+ は時刻値をパラメータで置き換えます。そのため、その後の bind
+ メッセージも追加されたパラメータの形式コードを含んでいる必要があります。
+ しかし、元のクエリのパラーメータ形式数が1だった場合、この処理がなされていませんでした。これが
+ "incorrect binary data format in bind parameter 2" のようなエラーの原因となっていました。
+ </p>
+</li>
+<li>
+ doc: パラレルモードは PREPARE 文の実行に対応していないことを追記しました。(Yugo Nagata)
+ <p>
+ <a href="http://www.pgpool.net/mantisbt/view.php?id=93">bug #93</a> の指摘によります。
+ </p>
+</li>
+
+
+</ul>
+
+<!-- -------------------------------------------------------------------------------- -->
+<h2><a name="release3.0.14"></a>3.0.14 (umiyameboshi) 2013/12/06</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンは 3.0.13 に対するバグ修正リリースです。
@@ -9789,7 +10438,7 @@ Date: Wed, 05 Oct 2011 15:15:07 -0700
<li>Makefile: Makefiles 内の pg_config を $(PG_CONFIG) に置き換えました。
したがって、PostgreSQL のメジャーバージョンが異なる場合には、コンパイル中で上書きされるようになります。(Tatsuo Ishii)
-<p>パッチは Christoph Berg さんから提供されました。(<a href="ttp://www.sraoss.jp/pipermail/pgpool-general/2013-September/002156.html" target="_blank">[pgpool-general: 2127]</a>)</p>
+<p>パッチは Christoph Berg さんから提供されました。(<a href="http://www.sraoss.jp/pipermail/pgpool-general/2013-September/002156.html" target="_blank">[pgpool-general: 2127]</a>)</p>
</li>
<li>configure: FreeBSD で問題があったため、-lcompat を削除しました。(Tatsuo Ishii)
@@ -9844,7 +10493,7 @@ segfault していたのを修正しました。(Tatsuo Ishii)
<li>pgpool_catalog への public access を許可していませんでした。
<p>これは、pgpool_catalog がレプリケーションモードで作成されている場合に、
ユーザテーブルにデータを INSERT すると発生します。</p>
-<p>この不具合は <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2013-November/001228.htm" target="_blank">[pgpool-general-jp: 1229]</a> で報告されました。</p>
+<p>この不具合は <a href="http://www.sraoss.jp/pipermail/pgpool-general-jp/2013-November/001228.html" target="_blank">[pgpool-general-jp: 1229]</a> で報告されました。</p>
</li>
<li>pool_do_auth() のエラーケースで変数を初期化していませんでした。 (Tatsuo Ishii)
@@ -9880,7 +10529,6 @@ segfault していたのを修正しました。(Tatsuo Ishii)
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.0.13"></a>3.0.13 (umiyameboshi) 2013/09/06</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは 3.0.12 に対するバグ修正リリースです。
@@ -9921,7 +10569,6 @@ segfault していたのを修正しました。(Tatsuo Ishii)
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.0.12"></a>3.0.12 (umiyameboshi) 2013/07/10</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは 3.0.11 に対するバグ修正リリースです。
@@ -10030,7 +10677,6 @@ pcp_recovery_node コマンドで、バックエンドノード番号をチェ
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.0.11"></a>3.0.11 (umiyameboshi) 2013/04/26</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンでは、3.0.10における様々なバグが修正されています。
@@ -10146,7 +10792,9 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
</ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>3.0.10 (umiyameboshi) 2013/02/08</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、3.0.9における様々なバグが修正されています。
@@ -10190,24 +10838,6 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
</blockquote>
</li>
-<li>通常のテーブルと同名の一時テーブルがあるときに、クエリキャッシュの結果が不正になる
- バグを修正しました。 (Tatsuo Ishii)
-<p>
- 以下はバグを引き起こす処理の例です。
-</p>
-<pre>
- 1) CREATE TABLE t1(i int); -- 通常のテーブルを作成
- 2) INSERT INTO t1 VALUES(1);
- 3) SELECT * FROM t1; -- クエリキャッシュが作成される
- 4) CREATE TEMP TABLE t1(i int); -- 一時テーブルの作成
- 5) SELECT * FROM t1; -- 誤ったクエリキャッシュが作成される!
-</pre>
-<p>
- #3 で t1 のキャッシュが生成されますが、#5 でこれが不正に使われており、一時テーブル t1 が
- 一時テーブルと見なされていないのが問題でした。
-</p>
-</li>
-
<li>pcp または worker 子プロセスの終了イベントを受信したときに、reaper() で wait3()
ループを終了しないように修正しました。 (Tatsuo Ishii)
<p>
@@ -10254,20 +10884,6 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
<li>pg_md5 で、ユーザからのパスワード入力の後には改行するように修正しました。 (Yugo Nagata)</li>
-<li>watchdog のポート番号が既に使用されていた場合にエラーメッセージを出力するよう修正しました。
- (Yugo Nagata)
-<p>
- この問題は [pgpool-general: 1167] で Will Ferguson さんによって報告されました。
-</p>
-<blockquote>
- [pgpool-general: 1167] Re: Watchdog error - wd_init: delegate_IP already exists<br />
- From: Will Ferguson
- Date: Tue, 6 Nov 2012 13:03:36 +0000
- <a href="http://www.sraoss.jp/pipermail/pgpool-general/2012-November/001186.html">
- http://www.sraoss.jp/pipermail/pgpool-general/2012-November/001186.html</a>
-</blockquote>
-</li>
-
<li>コネクションプールが存在しない場合には、child_exit() が send_frontend_exits()
を呼ばないよう修正しました。 (Tatsuo Ishii)
<p>
@@ -10313,7 +10929,9 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
</ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>3.0.9 (umiyameboshi) 2012/10/12</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、3.0.8における様々なバグが修正されています。
@@ -10407,8 +11025,15 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
</blockquote>
</ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>3.0.8 (umiyameboshi) 2012/08/06</h2>
+<!-- -------------------------------------------------------------------------------- -->
+<h3>概要</h3>
+<p>
+このバージョンでは、3.0.7における様々なバグが修正されています。
+</p>
+<h3>バグ修正</h3>
<ul>
<li>Solaris でのロードバランスを修正しました。(Tatsuo Ishii)
<p>Solaris での random() 関数の仕様のために問題があったため、rand() に変更しました。</p>
@@ -10458,7 +11083,9 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
</li>
</ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>3.0.7 (umiyameboshi) 2012/04/23</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、3.0.6におけるバグが修正されています。
@@ -10484,7 +11111,9 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
<li>PREPARE 文でエラーが起きた際に発生するハングアップを修正しました。Tominari Katsumata さんの報告に基づきます。(Toshihiro Kitagagwa)</li>
</ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>3.0.6 (umiyameboshi) 2012/01/31</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、3.0.5におけるバグが修正されています。
@@ -10503,7 +11132,9 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
</li>
</ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>3.0.5 (umiyameboshi) 2011/10/31</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、3.0.4における様々なバグが修正されています。
@@ -10536,7 +11167,9 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
<li>エラーメッセージ"do_md5: read_password_packet failed"をデバッグレベルにしました(Kitagawa)</li>
</ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>3.0.4 (umiyameboshi) 2011/06/01</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、3.0.3における様々なバグが修正されています。
@@ -10593,7 +11226,6 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.0.3"></a>3.0.3 (umiyameboshi) 2011/02/23</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンでは、3.0.1における様々なバグが修正されています
@@ -10694,7 +11326,6 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.0.2"></a>3.0.2(umiyameboshi) 2011/02/17</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは問題があったために、リリースが取り消されました。
@@ -10703,7 +11334,6 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.0.1"></a>3.0.1 (umiyameboshi) 2010/10/19</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンでは、3.0における様々なバグが修正されています。
@@ -10725,7 +11355,6 @@ md5認証で長いユーザ名を処理する際のバグを修正しました
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release3.0"></a>3.0 (umiyameboshi) 2010/09/10</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンは3.0系列の最初の版で、2.2系や2.3系からの「メジャーバージョンアップ」にあたります。
@@ -10920,9 +11549,104 @@ PostgreSQL 9.0の新機能であるStreaming Replication/Hot Standby構成に対
<hr><a name="release2.3.x"></a>
<!-- -------------------------------------------------------------------------------- -->
-<h2><a name="release2.3.3"></a>2.3.3 (tomiteboshi) 2010/04/23</h2>
+<h2><a name="release2.3.4"></a>2.3.4 (tomiteboshi) 2012/08/06</h2>
<!-- -------------------------------------------------------------------------------- -->
+<h3>概要</h3>
+<p>このバージョンでは、2.3.3 以前の色々なバグが修正されています。</p>
+
+<h3>バグ修正</h3>
+
+<ul>
+<li>
+do_error_execute_command() が ErrorResponse を受け取るまでバックエンドからの
+結果を見ないように修正しました。 (Toshihiro Kitagawa)
+<p>
+ReadyForQuery のようなエラーでない結果をとっておき、pool_unread() で呼び出す必要があるためです。
+これは PHP PDO を使っているときに起こる可能性がありました。
+</p>
+</li>
+
+<li>
+SimpleForwardToFrontend() が、SELECT 実行中に bind エラーになったとき、
+select_in_transaction フラグと execute_select フラグををリセットするように修正しました。
+(Toshihiro Kitagawa)
+</li>
+
+<li>
+バックエンドからたくさんの結果を読み込んでいる間に、SSL 接続がハングすることが
+あるのを修正しました。Tatsuo Ishii)
+<p>詳細は、[Pgpool-general] Fwd: PGPOOL II 2.3.3 hang in ssl mode のスレッドを参照してください。</p>
+</li>
+
+<li>
+pcp_check_fd() のタイムアウト処理のバグを修正しました。 (Tatsuo Ishii)
+ <p>これは以下で報告されました。 </p>
+ <blockquote>
+ Subject: [Pgpool-general] question about pcp_check_fd
+ Date: Sun, 23 May 2010 18:21:41 -0500
+ To: pgpool <pgpool-general@pgfoundry.org>
+ </blockquote>
+</li>
+
+<li>
+master/slave モードで稼働中、DEALLOCATE をレプリケーションしないようにしました。(Toshihiro Kitagawa)
+<p>これは、以下で Jan Kantert から報告されました。</p>
+<blockquote>
+Subject: [Pgpool-hackers] Problems with PgPool 2.3.3 Prepare /
+ Deallocation handling in Master/Slave mode
+Date: Fri, 28 May 2010 20:59:47 +0200
+</blockquote>
+</li>
+
+<li>タイムスタンプの書き換えで、スキーマを認識するようにしました。(Tatsuo Ishii)</li>
+
+<li>
+now() などデフォルト値にもつがデータ型が timestamp 型でないようなカラムへの
+アクセスがあるステートメントを、書き換えないようにしました。(Tatsuo Ishii)
+
+<p>そうしていなかったために、DML でエラーになっていました。</p>
+<blockquote>
+Subject: [Pgpool-general] function epoch seems to be causing error
+To: pgpool-general@pgfoundry.org
+Date: Mon, 16 Aug 2010 21:48:31 +0000 (UTC)
+</blockquote>
+</li>
+
+<li>insert_lock がスキーマを認識するようになりました。(Tatsuo Ishii)</li>
+
+<li>
+配列型や複合型のカラムのタイムスタンプ書き換えにおける、古くからあるバグを
+修正しました。(Tatsuo Ishii)
+<p>例えば、以下の場合に失敗していました。</p>
+<pre>
+INSERT INTO r1(col[1], col2.foo) VALUES (1, 2); -- insert_column_item
+UPDATE r1 SET col1[1] = 1, col2.foo = 1; -- set_target
+PREPARE "p" (int4[]) AS SELECT $1[1]; -- c_expr
+SELECT (ARRAY[1,2,3])[1];
+SELECT (ARRAY[ARRAY[1]])[1][1];
+SELECT ('{1,2,3}'::int[])[1];
+SELECT ('{1,2,3}'::int[3])[1];
+SELECT r1.col[1], (r1.col1).bar, (r1.col1).* FROM r1; -- columnref
+SELECT (r1.col1).baz[1], (r1.col1).baz[1][2] FROM r1;
+</pre>
+<p>パッチは Akio Ishida から提供されました。</p>
+</li>
+
+<li>pcp パスワードが 32 文字以上のときに、バッファオーバーランするのを修正しました。(Tatsuo Ishii)</li>
+
+<li>
+wait_for_query_response() が、frontend がないときには何もしないように修正しました。(Tatsuo Ishii)
+<p>
+バックエンドをリセットする reset_query_list のクエリを実行に 時間がかかったときに発生する可能性があり、
+またクラッシュすることがありました。
+</p>
+</li>
+</ul>
+
+<!-- -------------------------------------------------------------------------------- -->
+<h2><a name="release2.3.3"></a>2.3.3 (tomiteboshi) 2010/04/23</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>このバージョンでは、2.3.2.2 以前の色々なバグが修正されています。</p>
@@ -11031,7 +11755,6 @@ SELECT * FROM a JOIN b USING (aid) JOIN c USING (cid) JOIN d USING</pre>
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release2.3.2.2"></a>2.3.2.2 (tomiteboshi) 2010/02/22</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンでは、2.3.xにおける様々なバグを修正しています。
@@ -11055,7 +11778,6 @@ SELECT * FROM a JOIN b USING (aid) JOIN c USING (cid) JOIN d USING</pre>
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release2.3.2.1"></a>2.3.2.1 (tomiteboshi) 2010/02/11</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンでは、2.3.xにおいて、エラーとなるようなSQLを実行すると
@@ -11065,7 +11787,6 @@ pgpoolへのセッションが切断されるバグを修正しています(Akio
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release2.3.2"></a>2.3.2 (tomiteboshi) 2010/02/07</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンでは、2.3.1の色々なバグが修正されています。
@@ -11115,7 +11836,6 @@ pgpoolへのセッションが切断されるバグを修正しています(Akio
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release2.3.1"></a>2.3.1 (tomiteboshi) 2009/12/18</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>
このバージョンでは、2.3の色々なバグが修正されています。
@@ -11156,7 +11876,6 @@ pgpoolへのセッションが切断されるバグを修正しています(Akio
<!-- -------------------------------------------------------------------------------- -->
<h2><a name="release2.3"></a>2.3 (tomiteboshi) 2009/12/07</h2>
<!-- -------------------------------------------------------------------------------- -->
-
<h3>概要</h3>
<p>このバージョンでは、レプリケーション機能に改良が加えられ、
時刻データ(CURRENT_TIMESTAMP, CURRENT_DATE, now()など)を正しく扱うことができるようになりました。</p>
@@ -11206,14 +11925,81 @@ pgpoolへのセッションが切断されるバグを修正しています(Akio
</li><li>時刻データのテストが追加されました(Akio Ishida)
</li></ul>
-<p></p>
-
<!-- ================================================================================ -->
<!-- 2.2 -->
<!-- ================================================================================ -->
<hr><a name="release2.2.x"></a>
+<!-- -------------------------------------------------------------------------------- -->
+<h2>2.2.8 (urukiboshi) 2012/08/06</h2>
+<!-- -------------------------------------------------------------------------------- -->
+<h3>概要</h3>
+<p>このバージョンでは、2.2.7 のバグが修正されています。</p>
+
+<h3>バグ修正</h3>
+<ul>
+<li>
+do_error_execute_command() が ErrorResponse を受け取るまでバックエンドからの結果を
+見ないように修正しました。 (Toshihiro Kitagawa)
+<p>
+ReadyForQuery のようなエラーでない結果をとっておき、pool_unread() で呼び出す
+必要があるためです。
+これは PHP PDO を使っているときに起こる可能性がありました。
+</p>
+</li>
+
+<li>
+SimpleForwardToFrontend() が、SELECT 実行中に bind エラーになったとき、
+select_in_transaction フラグと execute_select フラグををリセットするように修正しました。
+(Toshihiro Kitagawa)
+</li>
+
+<li>
+pcp_check_fd() のタイムアウト処理のバグを修正しました。 (Tatsuo Ishii)
+<p>これは以下で報告されました。</p>
+<blockquote>
+Subject: [Pgpool-general] question about pcp_check_fd<br>
+Date: Sun, 23 May 2010 18:21:41 -0500<br>
+To: pgpool <pgpool-general@pgfoundry.org>
+</blockquote>
+</li>
+
+<li>pcp パスワードが 32 文字以上のときに、バッファオーバーランするのを修正しました。(Tatsuo Ishii)</li>
+
+<li>
+wait_for_query_response() が、frontend がないときには何もしないように修正しました。(Tatsuo Ishii)
+<p>
+バックエンドをリセットする reset_query_list のクエリを実行に 時間がかかったときに
+発生する可能性があり、またクラッシュすることがありました。
+</p>
+</li>
+</ul>
+
+<!-- -------------------------------------------------------------------------------- -->
+<h2>2.2.7 (urukiboshi) 2010/04/15</h2>
+<!-- -------------------------------------------------------------------------------- -->
+<h3>概要</h3>
+<p>
+このバージョンでは、kind mismatchエラーが起きた際のエラーメッセージが改善されています。
+また、2.2.6以前の色々なバグが修正されています。
+</p>
+<h3>バグ修正</h3>
+<ul>
+<li>マスター/スレーブモード、rawモード、またはコネクションプールモードにおいて、拡張プロトコルを使用している際に時々ハングアップするバグを修正しました。これは、2.3系からのバックパッチです(Kitagawa)
+<li>pgpool子プロセスがsegfaultを起こすpgpool-II 1.0から長い間存在したバグを修正しました。
+これは、親プロセスがshmemサイズの計算を間違えていたことに起因します。バグ解析(Kitagawa)、パッチ作成(Tatsuo)
+<li>マスター/スレーブモードにおいて、明示的なトランザクションで操作した場合は、Parse、Bind、Describe、そしてCloseメッセージをマスターノードのみに送るようにしました(Tatsuo)
+<li>postmasterが終了する際に、ログを出力するようにしました(Tatsuo)
+<li>make_persistent_db_connection関数のメモリリークを修正しました(Xavier Noguer)
+<li>マスター/スレーブモードでは、DEALLOCATEの強制的なレプリケーションをしないようにしました。
+pgpoolはParseをすべてのノードで実行しないため、これは無意味で問題(DEALLOCATE実行時のkind mismatch)を引き起こしていました(Tatsuo)
+<li>18より多いDBノードでshow pool_statusを実行したときにクラッシュするバグを修正しました(Tatsuo)
+<li>kind mismatchメッセージを改善しました。kindがERROR、またはNOTICEの場合は、何が起きているかユーザーがわかりやすいようにERROR/NOTICEメッセージを出力します(Tatsuo)
+</ul>
+
+<!-- -------------------------------------------------------------------------------- -->
<h2>2.2.6 (urukiboshi) 2009/12/01</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、ロードバランスの重みパラメータweightの扱いが改善され、
@@ -11242,7 +12028,9 @@ pgpoolへのセッションが切断されるバグを修正しています(Akio
</li></ul>
<p></p>
+<!-- -------------------------------------------------------------------------------- -->
<h2>2.2.5 (urukiboshi) 2009/10/4</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、2.2.4以前の色々なバグが修正されています。
@@ -11258,7 +12046,9 @@ pgpoolへのセッションが切断されるバグを修正しています(Akio
</li></ul>
<p></p>
+<!-- -------------------------------------------------------------------------------- -->
<h2>2.2.4 (urukiboshi) 2009/8/24</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、2.2.3以前の色々なバグが修正されています。
@@ -11280,7 +12070,9 @@ pgpoolへのセッションが切断されるバグを修正しています(Akio
</li></ul>
<p></p>
+<!-- -------------------------------------------------------------------------------- -->
<h2>2.2.3 (urukiboshi) 2009/8/11</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、2.2.2以前の色々なバグが修正されています。
@@ -11333,7 +12125,9 @@ pgpoolへのセッションが切断されるバグを修正しています(Akio
</li></ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>2.2.2 (urukiboshi) 2009/5/5</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、2.2.1以前の色々なバグが修正されています。
@@ -11357,7 +12151,9 @@ pgpoolのクライアントが終了(X)パケットをpgpoolに送信せずに
PostgreSQLのログに"unexpected EOF on client connection"が記録される問題を修正しました(Tatsuo Ishii)。
</li></ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>2.2.1 (urukiboshi) 2009/4/25</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、2.2の色々なバグが修正されています。
@@ -11376,7 +12172,9 @@ pgpoolのクライアントが終了(X)パケットをpgpoolに送信せずに
</li><li>ドキュメントで追加し忘れたファイルを登録しました(Tatsuo Ishii)
</li></ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>2.2 (urukiboshi) 2009/2/28</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>概要</h3>
<p>
このバージョンでは、SERIALデータの扱いとオンラインリカバリに改良が行なわれています。
@@ -11491,7 +12289,9 @@ S: <-- ok since no previous SELECT is sent. kind mismatch error occurs!
<!-- ================================================================================ -->
<hr><a name="release2.1.x"></a>
+<!-- -------------------------------------------------------------------------------- -->
<h2>2.1 (inamiboshi) 2008/7/25</h2>
+<!-- -------------------------------------------------------------------------------- -->
<h3>新機能</h3>
<ul>
<li><a href="#FAILOVER_COMMAND">failover_command</a> と
@@ -11645,6 +12445,8 @@ HINT: check data consistency between master and other db node
<li> パラレルモードで部分レプリケーションをサポートしました。(Yoshiharu Mori)
</li></ul>
+<!-- ================================================================================ -->
+<!-- 1.3 -->
<!-- ================================================================================ -->
<hr><a name="release1.3.x"></a>
@@ -11669,6 +12471,8 @@ HINT: check data consistency between master and other db node
</li><li> 64bit 環境でクエリキャッシュ機能を有効にすると、クラッシュする可能性のある不具合を修正しました(Yoshiyuki Asaba)
</li></ul>
+<!-- ================================================================================ -->
+<!-- 1.2 -->
<!-- ================================================================================ -->
<hr><a name="release1.2.x"></a>
@@ -11732,10 +12536,14 @@ HINT: check data consistency between master and other db node
</li></ul>
+<!-- ================================================================================ -->
+<!-- 1.1 -->
<!-- ================================================================================ -->
<hr><a name="release1.1.x"></a>
+<!-- -------------------------------------------------------------------------------- -->
<h2>1.1.1 (amiboshi) 2007/06/15</h2>
+<!-- -------------------------------------------------------------------------------- -->
<ul>
<li> <a href="#LOAD_BALANCE_MODE">load_balance_mode</a> を有効にしていると、"kind mismatch" エラーが
発生してしまう不具合を修正しました。これは 1.1 で入った不具合です。
@@ -11746,7 +12554,9 @@ HINT: check data consistency between master and other db node
不具合を修正しました(Yoshiyuki Asaba)
</li></ul>
+<!-- -------------------------------------------------------------------------------- -->
<h2>1.1 (amiboshi) 2007/05/25</h2>
+<!-- -------------------------------------------------------------------------------- -->
<ul>
<li> HBA 認証をサポートしました(Taiki Yamaguchi)
</li><li> <a href="#LOG_CONNECTIONS">log_connections</a> をサポートしました(Taiki Yamaguchi)
@@ -11766,10 +12576,14 @@ HINT: check data consistency between master and other db node
</li><li> 巨大な SQL を実行しようとした場合に pgpool が無限ループに入る不具合を修正しました(Yoshiyuki Asaba)
</li></ul>
+<!-- ================================================================================ -->
+<!-- 1.0 -->
<!-- ================================================================================ -->
<hr><a name="release1.0.x"></a>
+<!-- -------------------------------------------------------------------------------- -->
<h2>1.0.2 (suboshi) 2007/02/13</h2>
+<!-- -------------------------------------------------------------------------------- -->
<ul>
<li> 巨大な SQL を実行しようとした場合に pgpool が無限ループに入る不具合を修正しました(Yoshiyuki Asaba)
</li><li> 拡張問合せプロトコルを使った場合にまれに pgpool が止まってしまう不具合を修正しました(Yoshiyuki Asaba)
[parent: d87e2706b885]