[pgpool-committers: 2776] 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
------
master

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

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