pgsql: psql: Support multiple -c and -f options, and allow mixing them.
pgsql: psql: Support multiple -c and -f options, and allow mixing them.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
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(-)