pgsql: Make psql -1 < file behave as expected. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Make psql -1 < file behave as expected.
Date
Msg-id E1SzSTg-0006iS-EU@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make psql -1 < file behave as expected.

Previously, the -1 option was silently ignored.

Also, emit an error if -1 is used in a context where it won't be
respected, to avoid user confusion.

Original patch by Fabien COELHO, but this version is quite different
from the original submission.

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |   10 +++++-----
src/bin/psql/command.c         |    8 +++++---
src/bin/psql/help.c            |    2 +-
src/bin/psql/startup.c         |   27 +++++++++++++++++++++++----
4 files changed, 34 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Force archive_status of .done for xlogs created by dearchival/re
Next
From: Simon Riggs
Date:
Subject: pgsql: Ensure all replication message info is available and correct via