diff options
| -rw-r--r-- | src/test/regression/tests/038.pcp_commands/expected | 4 | ||||
| -rwxr-xr-x | src/test/regression/tests/038.pcp_commands/test.sh | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/test/regression/tests/038.pcp_commands/expected b/src/test/regression/tests/038.pcp_commands/expected index 861fabb87..61df0b958 100644 --- a/src/test/regression/tests/038.pcp_commands/expected +++ b/src/test/regression/tests/038.pcp_commands/expected @@ -1,8 +1,4 @@ -CREATE EXTENSION pgpool_adm; CREATE EXTENSION -SELECT database, status, case when client_host = '127.0.0.1' or client_host = '::1' then 'localhost' end, statement FROM pcp_proc_info -(host => '', port => 11001, username => 't-ishii', password => 't-ishii') -WHERE connected = '1' AND backend_id = '0' AND statement = 'SELECT pg_sleep(1)' database | status | case | statement ----------+-----------------+-----------+-------------------- test | Execute command | localhost | SELECT pg_sleep(1) diff --git a/src/test/regression/tests/038.pcp_commands/test.sh b/src/test/regression/tests/038.pcp_commands/test.sh index 21896e44b..89c4dbc92 100755 --- a/src/test/regression/tests/038.pcp_commands/test.sh +++ b/src/test/regression/tests/038.pcp_commands/test.sh @@ -58,7 +58,7 @@ WHOAMI=`whoami` ./startall wait_for_pgpool_startup $PSQL -a -h localhost -c "SELECT pg_sleep(1)" test & -$PSQL -a -h localhost test > result 2>&1 <<EOF +$PSQL -h localhost test > result 2>&1 <<EOF CREATE EXTENSION pgpool_adm; SELECT database, status, case when client_host = '127.0.0.1' or client_host = '::1' then 'localhost' end, statement FROM pcp_proc_info (host => '', port => $PCP_PORT, username => '$WHOAMI', password => '$WHOAMI') |
