Fix incorrect execution of failover process
authorTakuma Hoshiai <hoshiai@sraoss.co.jp>
Tue, 2 Jun 2020 08:08:00 +0000 (17:08 +0900)
committerTakuma Hoshiai <hoshiai@sraoss.co.jp>
Tue, 2 Jun 2020 08:08:00 +0000 (17:08 +0900)
commit51084567f2cfd2f85d0a02594238c6635b4d8f56
tree385c25374569cc242f01a1e46762f6306e75f54b
parent75158b131a1eedba952ac3dfe661a3cf9f4810a6
Fix incorrect execution of failover process

This problem happen by executing pg_terminate_backend command with native replication.
In addition, add regression test for pg_terminate_backend command.
src/protocol/pool_process_query.c
src/test/regression/tests/073.pg_terminate_backend/test.sh [new file with mode: 0755]