[pgpool-committers: 4731] pgpool: Fix pgpool main process segfault when PostgreSQL 9.5. is used.
ishii at postgresql.org
Thu May 24 13:36:05 JST 2018
Fix pgpool main process segfault when PostgreSQL 9.5. is used.
pgpool_setup -n 3 (or greater) triggers the bug. While recovering node
2, pgpool main process tried to retrieve version info from backend #2
even if it's not running. This causes the sefault because connection
was not established yet. The reason why PostgreSQL 9.6 or later was not
suffered from the bug was, PostgreSQL exited the loop as soon as the
server version is higher than 9.5. To fix this, call to VALID_BACKEND
macro was added.
src/main/pgpool_main.c | 6 ++++++
1 file changed, 6 insertions(+)
More information about the pgpool-committers