pgsql: psql: Support multiple -c and -f options, and allow mixing them. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: psql: Support multiple -c and -f options, and allow mixing them.
Date
Msg-id E1a6Ncy-0007iX-F0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d5563d7df94488bf0ab52ac0678e8a07e5b8297e

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |   88 ++++++++++-------
src/bin/psql/command.c         |   34 +------
src/bin/psql/command.h         |    2 +-
src/bin/psql/startup.c         |  214 +++++++++++++++++++++++++++-------------
src/test/perl/PostgresNode.pm  |    2 +-
5 files changed, 205 insertions(+), 135 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Allow foreign and custom joins to handle EvalPlanQual rechecks.
Next
From: Tom Lane
Date:
Subject: pgsql: Avoid odd portability problem in TestLib.pm's slurp_file functio