[pgpool-committers: 2044] pgpool: Fix regression test 057 hung if run against PostgreSQL 9.4 or l

Tatsuo Ishii ishii at postgresql.org
Tue Jul 8 11:55:58 JST 2014


Fix regression test 057 hung if run against PostgreSQL 9.4 or later.

PostgreSQL 9.4 or later changed libpq behavior: NULL username for
connection string does not cause an error (which is expected in the
test). As a result psql prompts and waits for user's input which
causes regression test hang if executed against PostgreSQL 9.4 or
later. To fix this, "\q" is implicitly provided to psql session.

Now the test (pgpool segafult) is only performed against pre 9.4. 9.4
or later happily passes the test.

Regarding libpq change see:
http://www.postgresql.org/message-id/20140708.111307.408695214582895632.t-ishii@sraoss.co.jp
for more details.

Branch
------
V3_3_STABLE

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

Modified Files
--------------
test/regression/tests/057.bug61/test.sh |   25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)



More information about the pgpool-committers mailing list