SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for libpcp1-3.6.5-20.4.i586.rpm :
Fri Sep 8 14:00:00 2017 mrueckertAATTsuse.de
- dont own the %{_datadir}/postgresql
*/extension/

Fri Aug 4 14:00:00 2017 mrueckertAATTsuse.de
- finalize multibuild

Fri Aug 4 14:00:00 2017 mrueckertAATTsuse.de
- multibuild

Thu Aug 3 14:00:00 2017 mrueckertAATTsuse.de
- update to 3.6.5
http://www.pgpool.net/docs/latest/en/html/release-3-6-5.html
http://www.pgpool.net/docs/latest/en/html/release-3-6-4.html
http://www.pgpool.net/docs/latest/en/html/release-3-6-3.html
http://www.pgpool.net/docs/latest/en/html/release-3-6-2.html
- update pgpoolAdmin to 3.6.1
- refreshed patches to apply cleanly again
pgpool-II-3.6.1_implicit.patch
pgpool-II_conf.patch

Fri Feb 10 13:00:00 2017 mrueckertAATTsuse.de
- added pgpool-II-3.6.1_implicit.patch

Fri Feb 10 13:00:00 2017 mrueckertAATTsuse.de
- update to 3.6.1
- Improve the behavior of fail-over. In the steaming replication
mode, client sessions will not be disconnected when a fail-over
occurs any more if the session does not use the failed standby
server. If the primary server goes down, still all sessions
will be disconnected. Also it is possible to connect to
Pgpool-II even if it is doing health checking retries. Before
all attempt of connecting to Pgpool-II failed while doing
health checking retries.
- New PGPOOL SET command has been introduced. Certain
configuration parameters now can be changed on the fly in a
session.
- Watchdog is significantly enhanced. It becomes more reliable
than previous releases.
- Handling of extended query protocol (e.g. used by Java
applications) in streaming replication mode speeds up if many
rows are returned in a result set.
- Import parser of PostgreSQL 9.6.
- In some cases pg_terminate_backend() now does not trigger a
fail-over.
- Change documentation format from raw HTML to SGML.
For all the details see /usr/share/doc/packages/pgpool-II/NEWS

Mon Oct 3 14:00:00 2016 mrueckertAATTsuse.de
- update to 3.5.4
- Fix buffer over run problem in \"show pool_nodes\". (Tatsuo
Ishii) While processing \"show pool_nodes\", the buffer for
hostname was too short. It should be same size as the buffer
used for pgpool.conf. Problem reported by a twitter user who
is using pgpool on AWS (which could have very long hostname).
- Fix usage of wait(2) in pgpool main process. (Tatsuo Ishii) The
usage of wait(2) in pgpool main could cause infinite wait in
the system call. Solution is, to use waitpid(2) instead of
wait(2).
- Save and restore errno in each signal handler. (Tatsuo Ishii)
- Fix handling of pcp_listen_addresses config parameter.
(Muhammad Usama)
- Fix \"kind mismatch\" error message in pgpool. (Muhammad Usama)
Many of \"kind mismatch...\" errors are caused by notice/warning
messages produced by one or more of the DB nodes. In this case
now Pgpool-II forwards the messages to frontend, rather than
throwing the \"kind mismatch...\" error. This would reduce the
chance of \"kind mismatch...\" errors. See [pgpool-hackers:
1501] for more details.
- Replace \"MAJOR\" macro to prevent occasional failure. (Tatsuo
Ishii) The macro calls pool_virtual_master_db_node_id() and
then access backend->slots[id]->con using the node id returned.
In rare cases, it could point to 0 (in case when the DB node is
not connected), which gives access to con->major, then it
causes a segfault. See bug 225 for related info.
- Fixing a coding mistake in watchdog code. (Muhammad Usama)
wd_issue_failover_lock_command() function is supposed to
forward command type passed in as an argument to the
wd_send_failover_sync_command() function instead it was passing
the NODE_FAILBACK_CMD command type. The commit also contains
some log message enhancements.
- doc : Fixing a typo in english doc (Muhammad Usama)
- Fix for bun 215 that pgpool doesn\'t escalate ip in case of
another node inavailability. (Muhammad Usama) The heartbeat
receiver fails to identify the heartbeat sender watchdog node
when the heartbeat destination is specified in terms of an IP
address while wd_hostname is configured as a hostname string or
vice versa. See bug 215 for related info.
- Fix for bug of inconsistent status of Postgresql nodes in
Pgpool instances after restart.(Muhammad Usama) Watchdog does
not synchronize status. See bug 218 for related info.
- SIGUSR1 signal handler should be installed before watchdog
initialization. (Muhammad Usama) Since there can be a case
where a failover request from other watchdog nodes arrive at
the same time when the watchdog has just been initialized, and
if we wait any longer to install a SIGUSR1 signal handler, it
can result in a potential crash.
- Fix for bug 228 that pgpool doesn\'t de-escalate IP in case
network restored. (Muhammad Usama) See bug 228 for related
info.
- Fix hang when portal suspend received. (Tatsuo Ishii) See bug
230 for related info.
- test : Add regression test for bug 230. (Tatsuo Ishii)
- Fixing a typo in the log message. (Muhammad Usama)
- Fixing the error messages when the socket operation fails.
(Muhammad Usama)
- Tighten up health check timer expired condition in
pool_check_fd(). (Muhammad Usama)
- doc : Add comment to the document about connection_cache.
(Tatsuo Ishii)
- Fix Handling of pcp_socket_dir was missing from
pool_get_config(). (Muhammad Usama)
- doc : Fix Japanese document typo. (Bo Peng)
- Fix \"out of memory\" by using \"pg_md5 -m\".(Muhammad Usama) See
bug 236 for related info.
- Fix for 237 that Pgpool-II fails to start if listen_addresses
is empty string. (Muhammad Usama) The socket descriptor array
(fds[]) was not getting the array end marker when TCP listen
addresses are not used. See bug 237 for related info.

Thu Jul 7 14:00:00 2016 mrueckertAATTsuse.de
- update to 3.5.3
- New features
- Allow to access to pgpool while doing health checking (Tatsuo
Ishii)
Currently any attempt to connect to pgpool fails if pgpool is
doing health check against failed node even if
fail_over_on_backend_error is off because pgpool child first
tries to connect to all backend including the failed one and
exits if it fails to connect to a backend (of course it
fails). This is a temporary situation and will be resolved
before pgpool executes failover. However if the health check
is retrying, the temporary situation keeps longer depending
on the setting of health_check_max_retries and
health_check_retry_delay. This is not good. Attached patch
tries to mitigate the problem:
- When an attempt to connect to backend fails, give up
connecting to the failed node and skip to other node,
rather than exiting the process if operating in streaming
replication mode and the node is not primary node.
- Mark the local status of the failed node to \"down\".
- This will let the primary node be selected as a load
balance node and every queries will be sent to the primary
node. If there\'s other healthy standby nodes, one of them
will be chosen as the load balance node.
- After the session is over, the child process will suicide
to not retain the local status.
Per [pgpool-hackers: 1531].
- Bug fixes
- Fix is_set_transaction_serializable() when SET
default_transaction_isolation TO \'serializable\'. (Bo Peng)
SET default_transaction_isolation TO \'serializable\' is sent
to not only primary but also to standby server in streaming
replication mode, and this causes an error. Fix is, in
streaming replication mode, SET default_transaction_isolation
TO \'serializable\' is sent only to the primary server.
See bug 191 for related info.
- Fix Chinese documetation bug about raw mode (Yugo Nagata, Bo
Peng) Connection pool is avalilable in raw mode.
- Fix confusing comments in pgpool.conf (Tatsuo Ishii)
- Fix extended protocol handling in raw mode (Tatsuo Ishii)
Bug152 reveals that extended protocol handling in raw mode
(actually other than in stream mode) was wrong in Describe()
and Close(). Unlike stream mode, they should wait for
backend response.
See bug 152 for related info.
- Permit pgpool to support multiple SSL cipher protocols
(Muhammad Usama)
Currently TLSv1_method() is used to initialize the SSL
context, that puts an unnecessary limitation to allow only
TLSv1 protocol for SSL communication. While postgreSQL
supports other ciphers protocols as well. The commit changes
the above and initializes the SSLSession using the
SSLv23_method() (same is also used by PostgreSQL). Because it
can negotiate the use of the highest mutually supported
protocol version and remove the limitation of one specific
protocol version.
- If statement timeout is enabled on backend and do_query()
sends a (Tatsuo Ishii) query to primary node, and all of
following user queries are sent to standby, it is possible
that the next command, for example END, could cause a
statement timeout error on the primary, and a kind mismatch
error on pgpool-II is raised.
This fix tries to mitigate the problem by sending sync
message instead of flush message in do_query(), expecting
that the sync message reset the statement timeout timer if we
are in an explicit transaction. We cannot use this technique
for implicit transaction case, because the sync message
removes the unnamed portal if there\'s any.
Plus, pg_stat_statement will no longer show the query issued
by do_query() as \"running\".
See bug 194 for related info.
- Deal with the case when the primary is not node 0 in
streaming replication mode. (Tatsuo Ishii)
http://www.pgpool.net/mantisbt/view.php?id=194#c837 reported
that if primary is not node 0, then statement timeout could
occur even after bug194-3.3.diff was applied. After some
investigation, it appeared that MASTER macro could return
other than primary or load balance node, which was not
supposed to happen, thus do_query() sends queries to wrong
node (this is not clear from the report but I confirmed it in
my investigation).
pool_virtual_master_db_node_id(), which is called in MASTER
macro returns query_context->virtual_master_node_id if query
context exists. This could return wrong node if the variable
has not been set yet. To fix this, the function is modified:
if the variable is not either load balance node or primary
node, the primary node id is returned.
- Fix a posible hang during health checking (Yugo Nagata)
Helath checking was hang when any data wasn\'t sent from
backend after connect(2) succeeded. To fix this,
pool_check_fd() returns 1 when select(2) exits with EINTR due
to SIGALRM while health checkking is performed.
Reported and patch provided by harukat and some modification
by Yugo.
See bug 204 for related info.
- change the Makefile under this directory src/sql/,that is
proposed by (Bo Peng) [pgpool-hackers: 1611]
- fix for 0000197: pgpool hangs connections to database..
(Muhammad Usama)
The client connection was getting stuck when backend node and
remote pgpool-II node becomes unavailable at the same time.
The reason was a missing command timeout handling in the
function that sends the IPC commands to watchdog.
- Fix bug with load balance node id info on shmem
(Tatsuo Ishii)
There are few places where the load balance node was
mistakenly put on wrong place. It should be placed on:
ConnectionInfo
*con_info[child id, connection pool_id,
backend id].load_balancing_node]. In fact it was placed on:

* con_info[child id, connection pool_id, 0].load_balancing_node].
As long as the backend id in question is 0, it is ok. However
while testing pgpool-II 3.6\'s enhancement regarding failover,
if primary node is 1 (which is the load balance node) and
standby is 0, a client connecting to node 1 is disconnected
when failover happens on node 0. This is unexpected and the
bug was revealed.
It seems the bug was there since long time ago but it had not
found until today by the reason above.
- Fixing coverity scan reported issues. (Muhammad Usama)

Mon May 9 14:00:00 2016 mrueckertAATTsuse.de
- update to 3.5.2
- Bug fixes
- Fix for segfault during trusted_servers check (Muhammad
Usama) PostgreSQL\'s memory and exception manager APIs adopted
by the pgpool 3.4 are not thread safe and are causing the
segmentation fault in the watchdog lifecheck process, as it
uses the threads to ping configured trusted hosts for
checking the upstream connections. Fix is to remove threads
and use the child process approach instead. See
[pgpool-general: 4569] for more details.
- Removing the limit on the maximum number of items in the
black_function_list and white_function_list lists (Muhammad
Usama) extract_string_tokens in pool_config uses the fixed
size malloc on the array to hold the
black_function_list/white_function_list items. This imposes
a limit of maximum items in these lists. The fix is to use
realloc to increase the array size when it gets full.
- Fix check \"PCP Directory\" in \"Parameter Setting\" in install
(Nozomi Anzai) The command \"pcp_system_info\" was discarded in
3.5, but pgpoolAdmin still confirmed if it existed.
Per bug #187.
- Fix extended protocol hang with empty query (Tatsuo Ishii)
The fixes related to extended protocol cases in 3.5.1 broke
the case of empty query. In this case backend replies with
\"empty query response\" which is same meaning as a command
complete message. Problem is, when empty query response is
received, pgpool does not reset the query in progress flag
thus keeps on waiting for backend. However, backend will not
send the ready for query message until it receives a sync
message. Fix is, resetting the in progress flag after
receiving the empty query response and reads from frontend
expecting it sends a sync message. Per bug #190.
- Redirect all user queries to primary server (Tatsuo Ishii) Up
to now some user queries are sent to other than the primary
server even if load_balance_mode = off. This commit changes
the behavior: if load_balance_mode = off in streaming
replication mode, now all the user queries are sent to the
primary server only. Per bug #189.
- Change the PID length of pcp_proc_count command result to 6
characters long (Bo Peng) If the pgpool process ID are over 5
characters, the 6th character of each process ID will be
removed. This commit changes the process ID length of
pcp_proc_count command result to 6 characters long.
Per bug #188.

Mon Apr 25 14:00:00 2016 mrueckertAATTsuse.de
- update to 3.5.1
- Bug fixes
- Add some warning messages for wd_authkey hash calculation
failure (Yugo Nagata) Sometimes wd_authkey calculation fails
for some reason other than authkey mismatch. The additional
messages make these distingushable for each other.
- test: Fix regression test to check timeout of each test (Yugo
Nagata)
- test: Allow timeout value to be specified by the command
option (Yugo Nagata)
- Fix compile issue on FreeBSD (Muhammad Usama) Added missing
include files. Per bug #166. The patch is contributed by the
bug reporter and enhanced a little by Usama.
- test: Fix test/regression/clean.sh to remove binary files of
010.rewrite_timestamp test (Yugo Nagata)
- Fix memorry leak reported by Coverity (CID 1350095) (Yugo
Nagata)
- Fixing pgpool-recovery module compilation issue with
PostgreSQL 9.6 (Muhammad Usama) Incorporating the change of
function signature for GetConfigOption..() functions in
PostgreSQL 9.6.
- Fix to properly process an empty query that has only comments
(Tatsuo Ishii) Pgpool-II recognized an empty query, for
example \"/
* DBD::Pg ping test v3.5.3
*/\" (note that it has no
\';\') as an error and emits message \"Unable to parse the
query\". This is because raw_parser() cannot distinguish an
empty query from an error query due to the poor API design.
To fix this new out parameter \"
*error\" added to the function.
If an error occurred, the variable is set to true and caller
can know the reason why raw_parser() returns NIL is because
of an error query or an empty query. Per bug #154. See
[pgpool-hackers: 1359] for additional information.
- Fix a reset query stuck problem (Muhammad Usama) The solution
is to report FRONTEND_ERROR instead of simple ERROR when
pool_flush on front-end socket fails. The original report is
[pgpool-general: 4265] Pgpool - connection hangs in DISCARD
ALL The patch was generated by Usama and Pawel
Ufnalewski, and Gerhard Wiesinger
helped to verify and test the fix.
- Fix a reset query stuck problem (Tatsuo Ishii) After
receiving X message from frontend, if pgpool-II detects EOF
on the connection before sending reset query, pgpool-II could
wait for a response from backend which had not received the
reset query. To fix this, if EOF received, treat this as
FRONTEND_ERROR, rather than ERROR. See \"[pgpool-hackers:
1440] Yet another reset query stuck problem\" for more
details.
- Fix query stuck problems in streaming replication mode with
extended protocol queries (Tatsuo Ishii) This fix is for both
bug #167 and #168.
- Fix pgpool hung after receiving error state from backend
(Tatsuo Ishii) This could happend if we execute an extended
protocol query and it fails. Per bug #169.
- Fix bug that child processes exit and are not re-spawned
(Muhammad Usama) The problem was due to a logical mistake in
the code for checking the exiting child process type when the
watchdog is enabled. Also the severity of the message emitted
for child exits due to max connection reached from FATAL to
LOG. Per [pgpool-general: 4519] Worker Processes Exit and
Are Not Re-spawned
- Fix typo in configure (Tatsuo Ishii) Patch provided by Thomas
Munro.
- doc: Change description of backend_flag (Tatsuo Ishii) It is
pointed out that restarting pgpool-II is not necessary. Per
[pgpool-general-jp: 1394].
- doc: Fix installation procedure. (Tatsuo Ishii) With
PostgreSQL 9.4 or later, installing pgpool_regclass is not
needed.
- test: Fix pgpool_setup to not confuse log output (Tatsuo
Ishii) Before it simply redirects stdout and stderr of pgpool
processes to a log file. This could cause the log contents
being garbled or even missed because of race condition caused
by multiple process being writing concurrently. To fix this,
pgpool_setup now generates startall script in which pgpool
sends stdout/stderr to cat command by pipe, and cat writes to
the log file.
- Fix to validate the PCP packet length (Muhammad Usama)
Without the validation check, a malformed PCP packet can
crash the PCP child and/or can run the server out of memory
by sending the packet with a very large data size.
- update admin to 3.5.1
- Show the path to .pcppass (Nozomi Anzai)
- Fix not to confirm the status of \"pcp_systemdb_info\" command
if the version is 3.5 [pgpool-general: 4427] (Nozomi Anzai)
- Add chinese templates help (pengbo)
- Change the chinese message catalog (pengbo)
- Fix the argument\'s name (Nozomi Anzai)
http://www.pgpool.net/mantisbt/view.php?id=171
- drop to pgpool-II-3.5.0_no_dev_rpath.patch

Thu Feb 4 13:00:00 2016 mrueckertAATTsuse.de
- update pgpool-II_conf.patch
fix pcp socket path

Wed Feb 3 13:00:00 2016 mrueckertAATTsuse.de
- drop pgpool-II-3.4.2_64bit_issue.patch:
included upstream
- added pgpool-II-3.5.0_no_dev_rpath.patch:
drop prefix statement from pgpool_adm/Makefile which leads to
unwanted/broken rpath

Wed Feb 3 13:00:00 2016 mrueckertAATTsuse.de
- update to version 3.5.0:
- Improved performance in extended query protocol
- Overcoming the thundering herd problem
- watchdog feature enhancements to be more robust and adaptable
- PCP command enhancements
- Import PostgreSQL 9.5 parser
for all details see
http://pgpool.net/mediawiki/index.php?title=pgpool-II_3.5_features
http://www.pgpool.net/docs/pgpool-II-3.5.0/NEWS.txt
- update pgpooladmin to version 3.5.0:
pgpoolAdmin 3.5 adopts pgpool-II 3.5.
- New features
- Add new parameters for pgpool-II 3.5 (Nozomi Anzai)
if_cmd_path, health_check_database, pcp_listen_addresses,
search_primary_node_timeout, serialize_accept,
sr_check_database, wd_de_escalation_command,
wd_ipc_socket_dir, wd_priority, wd_monitoring_interfaces_list
- Adopt to new pcp command usage (Nozomi Anzai)
- Adopt pcp_watchdog_info in ver3.5 (Nozomi Anzai)
- Add Chinese message catalogs (pengbo)
- Adopt Spanish translation (Nozomi Anzai) Patch contributed by
Rodrigo Ramirez Norambuena
- Bug fixes
- Add selected attribute to
 
ICM