[pgpool-committers: 2777] pgpool: Fix possible hang-up of regression test 054.postgres_fdw

Yugo Nagata nagata at sraoss.co.jp
Fri Oct 30 18:22:56 JST 2015


Fix possible hang-up of regression test 054.postgres_fdw

In this test, psql acceses foreign table through backend node #1
like folowings:
 node #1 (PostgreSQL)-> pgpool -> node #0 (PostgreSQL)
For this purpose, node #1 should be detached from pgpool
to avoid closed loop. However, the node might not be detached yet
just after pcp_detach_node command. This caused the hang-up.

To fix this, sleep 1 is inserted after pcp_detach_node.

Branch
------
V3_4_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=9b47ffb5e269b7874de505718adb6300b1cdaa5c

Modified Files
--------------
src/test/regression/tests/054.postgres_fdw/test.sh |    3 +++
1 file changed, 3 insertions(+)



More information about the pgpool-committers mailing list