pgpool-II 4.7.2 Documentation
Prev | Up | Appendix A. Release Notes | Next

# A.14. Release 4.5.10

> Release Date: 2025-12-15

## A.14.1. Changes

- Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng)

  Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions.

## A.14.2. Bug fixes

- Fix buffer overflow error in show pool_status. (Tatsuo Ishii)

  "show pool_status", "pgpool show" and pcp_pool_status could cause a buffer overflow error. If backend_flag is set to "ALWAYS_PRIMARY", pool_flag_to_str(), which is responsible to produce printable format of backend_flag, wrote data past to the end of static buffer.

  Problem reported by zam bak and reviewed by Bo Peng.

  Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS

- Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii)

  get_config() uses ctime() to generate printable form of memqcache_stats_start_time. But it did not take into account that ctime() adds newline at the end of result. As a result, not only the output of memqcache_stats_start_time was with unnecessary newline but next row printed empty items.

  Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS

## A.14.3. Regression Tests

- Test: stabilize 037.failover_session. (Tatsuo Ishii)

  On some platform (in my case Rocky Linux 10 running on VitualBox) fails to finish shutdownall after test1. This could be caused by the failover in the test to fail to restore the signal handler which should accept shutdown signal from shutdownall. Adding "sleep 5" before shutdownall seems to mitigate the problem.

Prev | Home | Next
Release 4.5.11 | Up | Release 4.5.9