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

# A.19. Release 4.4.15

> Release Date: 2025-12-15

## A.19.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.19.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

Prev | Home | Next
Release 4.5.0 | Up | Release 4.4.14