[pgpool-committers: 5656] pgpool: Fix DROP DATABASE failure.

Tatsuo Ishii ishii at sraoss.co.jp
Tue Apr 16 17:41:32 JST 2019

Fix DROP DATABASE failure.

When DROP DATABASE gets executed, SIGUSR1 is sent to the Pgpool-II
child process being issuing the command. In its SIGUSR1 handler,
MASTER macro is called while closing all idle connections. The MACRO
checks whether we are in failover process surely we are. As a result,
the process exits and DROP DATABASE command never been issued.

Per bug 486. However the reason of segfault in the report is not
clear.  After commit:

Things could be different. Let the user test the latest version in the
git repo and see if the problem is solved...



Modified Files
src/include/pool.h                |  2 +-
src/protocol/child.c              | 12 +++++++++++-
src/protocol/pool_proto_modules.c | 25 +++++++++++++++++++++----
3 files changed, 33 insertions(+), 6 deletions(-)

More information about the pgpool-committers mailing list