Changelog: Bug fixes
Fix build error on some system (Fedora 32). (Tatsuo Ishii)
Fix pgpool ssl front end accept all ciphers. (bug 608) (Muhammad Usama)
Downgrade too verbose authentication logs. (Tatsuo Ishii)
Fix unnecessary checks. (Tatsuo Ishii)
Doc: Fix typo. (Tatsuo Ishii)
Fix for segmentation fault in PCP process. (bug 598) (Muhammad Usama)
Fix a warning message is never output in watchdog. (Tatsuo Ishii)
Doc: Fix typo. (Tatsuo Ishii, Bo Peng)
Fix Pgpool-II hangs when an Execute message is issued right after Sync message and query cache hits. (Tatsuo Ishii)
Fix problems in watchdog source code processing json data. (bug 596) (Tatsuo Ishii)
Fix SCRAM auth handling bug. (bug 595) (Tatsuo Ishii)
Fix possible data inconsistency in native replication mode. (Tatsuo Ishii)
Fix watchdog ping probes fail with long hostnames due to small buffer. (bug 516) (Bo Peng)
Doc: Enhance documents. (Tatsuo Ishii)
Fix "last status change" timestamp is not set properly. (Tatsuo Ishii)
Sponsored by: Bounce Experts
Changelog for 4.0.7:
Bug fixes
Fix incorrect query rewrite in replication mode. (Bo Peng)
Fix that health check timeout does work in certain case. (Tatsuo Ishii)
Discussion: [pgpool-hackers: 3458], [pgpool-hackers: 3459]
Doc: add failover_command description when all standby nodes are down. (Takuma Hoshiai)
Doc: add note not to assign PostgreSQL servers to trusted_servers. (Tatsuo Ishii)
Fix for miscellaneous watchdog issues. (Muhammad Usama)
Fix assorted ancient v2 protocol bugs. (Tatsuo Ishii)
Fix problem that syslog_facility doesn't change by reload. (bug 548) (Takuma Hoshiai)
Fix Pgpool-II shutdown failed in certain case. (Tatsuo Ishii)
Allow the lost standby node to rejoin the master watchdog node when it gets rediscovered by the lifecheck. (bug 545) (Muhammad Usama)
Overhaul health check debug facility. (Tatsuo Ishii)
Fix segfault when executing an erroneous query after DEALLOCATE a named statement. (bug 546) (Tatsuo Ishii)
Doc: clarify that certificate authentication works between only client and Pgpool-II. (Tatsuo Ishii)
Doc: update configuration Examples "Pgpool-II + Watchdog Setup Example". (Bo Peng)
Doc: mention that VIP will not be brougt up if quorum does not exist. (Tatsuo Ishii)
Fix pgpool_setup to deal with PostgreSQL 9.1. (Tatsuo Ishii)
Fix for password authentication does not work when the password for the connecting user is not found in the pool_passwd file. (bug 534) (Muhammad Usama)
Add "-I" option to arping_cmd command default setting. (Bo Peng)
Changelog taken from: https://www.pgpool.net/docs/latest/en/html/release-4-0-7.html
Changelog for 4.0.8:
Changes
Disallowing the quorum aware failover option for the native replication mode. (Muhammad Usama)
Check if socket file exists at startup and remove them if PID file doesn't exist to avoid bind() failire. (Bo Peng)
Bug fixes
Fix incorrect query rewriting in native replication mode. (bug 551) (Bo Peng)
Doc: Update documentation and fix documentation typos. (Takuma Hoshiai, Tatsuo Ishii, Bo Peng)
Fix child process segfault after reload if health_check_database is empty. (bug 571) (Bo Peng)
Fix pgpool_setup to support PostgreSQL 12. (Tatsuo Ishii)
Doc: Change the sample follow_master_command script %M %H paramater's order. (Bo Peng)
Fix occasional regression test failure. (Tatsuo Ishii)
Fix replication delay worker segfault when application_name in primary_conninfo is an empty string. (bug 565) (Tatsuo Ishii)
Fix PGPOOL SHOW command doesn't display ALWAYS_MASTER, when backend_flag = 'ALWAYS_MASTER'. (Takuma Hoshiai)
Fix the bug with ignored syslog setting. (Bo Peng)
Changelog taken from: https://www.pgpool.net/docs/latest/en/html/release-4-0-8.html
Changelog:
Enhancements:
- Doc: Update "Pgpool-II + Watchdog Setup Example" to support PostgreSQL 12. (Bo Peng)
- Import some of memory manager debug facilities from PostgreSQL. (Tatsuo Ishii)
- Use pg_get_expr() instead of pg_attrdef.adsrc to support for PostgreSQL 12. (Bo Peng)
- Enhance shutdown script of pgpool_setup. (Tatsuo Ishii)
- Make shutdownall to wait for completion of shutdown of Pgpool-II.
- If environment variable CHECK_TIME_WAIT is set to true, use netstat command to confirm usage of the TCP/IP port while executing shutdown script.
- Doc: add description to pg_md5 man page how to show pool_passwd hashed string. (Tatsuo Ishii)
- Doc: add general description about failover. (Tatsuo Ishii)
- Deal pgpool_adm extension with PostgreSQL 12. (Tatsuo Ishii)
Bug fixes:
- Test: Fix test failure of extended-query-test when disable_load_balance_on_write = off/transaction/always. (Tatsuo Ishii)
- Fix "unable to bind. cannot get parse message" error. (bug 531) (Tatsuo Ishii)
- Fix online-recovery is blocked after a child process exits abnormally with replication mode and watchdog. (bug 483) (Muhammad Usama)
- Fix for keep the backend health check running on quarantined nodes. (Muhammad Usama)
- Fix for no primary on standby pgpool when primary is quarantined on master. (Muhammad Usama)
- Fix watchdog_setup command mode option to work correctly. (Takuma Hoshiai)
- Fix pgpool_setup to produce correct follow master command. (Tatsuo Ishii)
- Fix query cache module so that it checks oid array's bound. (Tatsuo Ishii)
- Fix off-by-one error in query cache module. (Tatsuo Ishii)
- Allow health check process to reload. (Tatsuo Ishii)
- Fix sefault when query cache is enabled. (bug 525) (Tatsuo Ishii)
- Down grade LOG "checking zapping sent message ..." to DEBUG5. (Tatsuo Ishii)
- Fix segfault when samenet is specified in pool_hba.conf. (Tatsuo Ishii)
- Doc: Fix documentation mistakes in follow_master.sh script and typos. (Bo Peng)
- Fix health check process is not shutting down in certain cases. (Tatsuo Ishii)
- Fix to deal with backslashes according to the config of standard_conforming_strings in native replication mode. (bug 467) (Bo Peng)
- Fix compile error on FreeBSD. (bug 512, bug 519) (Bo Peng)
- Fix memory leaks. (Tatsuo Ishii)
- Make failover in progress check more aggressively to avoid potential segfault. (Tatsuo Ishii)
MFH: 2019Q3
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Changelog:
Enhancements
* Add new configuration option ssl_prefer_server_ciphers. (Muhammad Usama)
Add the new setting ssl_prefer_server_ciphers to let users configure if they want client's or server's cipher order to take preference.
The default for this parameter is off, which prioritize the client's cipher order as usual. However this is just for keeping backward compatibility, and it is possible that a malicious client uses weak ciphers. For this reason we recommend to set this parameter to on at all times.
* Allow to set a client cipher list. (Tatsuo Ishii, Yugo Nagata)
For this purpose new parameter ssl_ciphers, which specifies the cipher list to be accepted by Pgpool-II, is added. This is already implemented in PostgreSQL and useful to enhance security when SSL is enabled.
Bug fixes
* Fix unnecessary fsync() to pgpool_status file. (Tatsuo Ishii)
Whenever new connections are created to PostgreSQL backend, fsync() was issued to pgpool_status file, which could generate excessive I/O in certain conditions. So reduce the chance of issuing fsync() so that it is issued only when backend status is changed.
* Doc: add more explanation to follow_master_command. (Tatsuo Ishii)
Add description how follow_master_command is executed etc.
* Doc: add note to detach_false_primary configuration parameter. (bug 469) (Tatsuo Ishii)
To use this feature, sr_check_user must be super user or in pg_monitor group.
Changelog taken from: http://www.pgpool.net/docs/latest/en/html/release-4-0-4.html
MFH: 2019Q2
Changelog:
- Skip over "host=" when getting info from conninfo string. (Bo Peng)
- Test: Fix old JDBC functions and typos in regression test 068.memqcache_bug. (Takuma Hoshiai)
- Doc: Fix configuration change timing regarding memory_cache_enabled. (Tatsuo Ishii)
- Fix online recovery failed due to client_idle_limit_in_recovery in certain cases. (bug 431) (Tatsuo Ishii)
- Reduce memory usage when large data set is returned from backend. (bug 462) (Tatsuo Ishii)
- Test: Fix syntax error in extended query test script. (Tatsuo Ishii)
- Fix corner case bug when strip_quote() handle a empty query string. (bug 458) (Tatsuo Ishii)
- Doc: Mention that schema qualifications cannot be used in white/black_function_list. (Tatsuo Ishii)
- Fix typo about wd_priority in watchdog_setup. (Takuma Hoshiai)
- Fixed segfault when wd_lifecheck_method = 'query'. (bug 455) (Muhammad Usama)
- The fix was proposed by Muhammad Usama and some adjustments to the patch and testing is done by Yugo Nagata.
- Fix Pgpool child segfault if failover occurs when trying to establish a connection. (Tatsuo Ishii)
- Doc: fix typo in logdir description. (bug 453) (Tatsuo Ishii)
- Fix PAM authentication failed. (Takuma Hoshiai)
- Fix Pgpool-II hang if a client sends a extended query message such as close after sync message but before next simple query. (Tatsuo Ishii)
- Fix Pgpool-II hang when idle_in_transaction_session_timeout = on. (bug 448) (Tatsuo Ishii)
Changelog taken from: http://www.pgpool.net/docs/latest/en/html/release-4-0-3.html
MFH: 2019Q1
pgpool 4.0 adds the configuration files "pool_hba.conf" and "pcp.conf", but
they weren't used until now. Also its possible to change there location
via rc.conf
PR: 235059
Submitted by: Franco Ricci <franco.ricc@gmail.com>
Do not pass --without-pam to configure as it does not appear to
work correctly. It also defines USE_PAM in config.h even when it
should not be defined and the build breaks.
auth/pool_hba.c:157:24: error: variable has incomplete type 'struct pam_conv'
static struct pam_conv pam_passw_conv = {
^
http://beefy3.nyi.freebsd.org/data/112amd64-quarterly/490502/logs/errors/pgpool-II40-4.0.2_2.log
Pointy hat: tobik
Approved by: tz (maintainer)
The PAM option is tangled up with the SSL option in a weird way.
SSL_CONFIGURE_WITH is set once before bsd.port.options.mk for
enabling SSL support and overwritten again after including
bsd.port.options.mk but only when PAM=on.
Setting options helper after this point is not really supported,
but --with-pam actually makes it to CONFIGURE_ARGS. When options
helpers are processed the results are only realized later by make(1).
SSL_CONFIGURE_WITH has been defined before including bsd.port.options.mk,
so this sort of "works".
This, however, is presumably an implementation detail and enabling
the PAM option breaks SSL support since SSL_CONFIGURE_WITH is
overwritten with a new value: CONFIGURE_ARGS only has --with-pam
left and is missing --with-openssl.
PAM support does not depend on SSL support. Just switch everything
to options helpers to fix this.
PR: 234817
Submitted by: tobik
Approved by: tz (maintainer)
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
pgpool is a connection pool server for PostgreSQL. pgpool runs between
PostgreSQL's clients(front ends) and servers(back ends). A PostgreSQL client can
connect to pgpool as if it were a standard PostgreSQL server.
pgpool caches the connection to PostgreSQL server to reduce the overhead to
establish the connection to it.
WWW: http://pgpool.net/
PR: 232957
Reported by: Franco Ricci <franco.ricc@gmail.com>
Approved by: tz (implicit)
Sponsored by: Netzkommune GmbH