Release 4.2.1

Release Date: 2020-12-23

A.10.1. Changes

  • Change the socket path to "/var/run/postgresql" in all of the pgpool.conf samples. (Bo Peng)

  • Use single shared memory segment for all shared variables in Pgpool parent process (Muhammad Usama)

    Shared memory segments is a limited resource and opening too many segments should be avoided.

  • Delete any pre-existing watchdog command socket file at startup (Muhammad Usama)

    Patch provided by Masaya Kawamoto

A.10.2. Bug fixes

  • Doc: Add missing raw mode to "5.3. Clustering mode" and fix typos. (Bo Peng)

  • Fix incorrect heartbeat related results of pcp_pool_status and SHOW POOL_STATUS commands. (Bo Peng)

  • Doc: fix usage of firewall-cmd in the installation tips section. (Tatsuo Ishii)

    firewall-cmd opened unnecessary ports in the example.

  • Fix segfault that may occur when backend_flag = 'ALWAYS_PRIMARY|ALLOW_TO_FAILOVER' or failover_command = ''. ( bug 672 ) (Tatsuo Ishii)

  • Fix for inconsistent watchdog node_id problem in wd_cli and watchdog lifecheck mechanism. (Muhammad Usama)

    When pgpool node 0 (leader watchdog) is shutdown, all of the pgpool nodes terminate abnormally. This commit fixed this issue.

  • Fix error if watchdog is disabled and wd_port is not defined. (Tatsuo Ishii)

  • Fix compiler error on FreeBSD. ( bug 670 ) (Tatsuo Ishii)

    Patch is provided by ajs.

  • Fix file swapping race condition in pool_passwd . (Tatsuo Ishii)

    Patch is provided by Masaya Kawamoto.