Test: more fix to 038.pcp_commands regression test.
authorTatsuo Ishii <ishii@postgresql.org>
Fri, 27 Jun 2025 06:50:33 +0000 (15:50 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Fri, 27 Jun 2025 06:50:33 +0000 (15:50 +0900)
commitb76c6876de4bca2da5e009f5cc64212060ccb1fb
treeb34040aa077c39fa085f31a1e0a6a71861304420
parent04e09df17e0b17c62d3f11eb5e5f95315c00fd84
Test: more fix to 038.pcp_commands regression test.

Commit 04e09df17 was not enough fix. The test calls pcp_proc_info()
pgpool_adm function along with user name and password (in the test
password is the same string as user name). Problem is, the user name
is obtained from a user name that runs the test, and we use psql -a to
submit the SQL, which prints the user name. Of course the user name
can vary depending on the environment, and it makes the test fail.  To
fix the issue, run psql without -a option.
src/test/regression/tests/038.pcp_commands/expected
src/test/regression/tests/038.pcp_commands/test.sh