aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgresNode.pm
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-12-08 14:04:08 -0500
committerRobert Haas <rhaas@postgresql.org>2015-12-08 14:04:08 -0500
commitd5563d7df94488bf0ab52ac0678e8a07e5b8297e (patch)
treed43ce085b39e22a2e6ca8d621a8d0a165e5f78a7 /src/test/perl/PostgresNode.pm
parent385f337c9f39b21dca96ca4770552a10a6d5af24 (diff)
downloadpostgresql-d5563d7df94488bf0ab52ac0678e8a07e5b8297e.tar.gz
postgresql-d5563d7df94488bf0ab52ac0678e8a07e5b8297e.zip
psql: Support multiple -c and -f options, and allow mixing them.
To support this, we must reconcile some historical anomalies in the behavior of -c. In particular, as a backward-incompatibility, -c no longer implies --no-psqlrc. Pavel Stehule (code) and Catalin Iacob (documentation). Review by Michael Paquier and myself. Proposed behavior per Tom Lane.
Diffstat (limited to 'src/test/perl/PostgresNode.pm')
-rw-r--r--src/test/perl/PostgresNode.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm
index 7b6ddf25de9..0632be25ca6 100644
--- a/src/test/perl/PostgresNode.pm
+++ b/src/test/perl/PostgresNode.pm
@@ -400,7 +400,7 @@ sub poll_query_until
while ($attempts < $max_attempts)
{
my $cmd =
- [ 'psql', '-At', '-c', $query, '-d', $self->connstr($dbname) ];
+ [ 'psql', '-XAt', '-c', $query, '-d', $self->connstr($dbname) ];
my $result = IPC::Run::run $cmd, '>', \$stdout, '2>', \$stderr;
chomp($stdout);