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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to