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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: psql: Support multiple -c and -f options, and allow mixing them.
Дата
Msg-id E1a6Ncy-0007iX-F0@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Allow foreign and custom joins to handle EvalPlanQual rechecks.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid odd portability problem in TestLib.pm's slurp_file functio