From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: psql: Support multiple -c and -f options, and allow mixing them. |
Date: | 2015-12-08 19:08:44 |
Message-ID: | E1a6Ncy-0007iX-F0@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-12-08 21:58:28 | pgsql: Avoid odd portability problem in TestLib.pm's slurp_file functio |
Previous Message | Robert Haas | 2015-12-08 17:54:57 | pgsql: Allow foreign and custom joins to handle EvalPlanQual rechecks. |