diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-12-08 14:04:08 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-12-08 14:04:08 -0500 |
commit | d5563d7df94488bf0ab52ac0678e8a07e5b8297e (patch) | |
tree | d43ce085b39e22a2e6ca8d621a8d0a165e5f78a7 /src/test/perl/PostgresNode.pm | |
parent | 385f337c9f39b21dca96ca4770552a10a6d5af24 (diff) | |
download | postgresql-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.pm | 2 |
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); |