Make psql -1 < file behave as expected.
authorRobert Haas <rhaas@postgresql.org>
Thu, 9 Aug 2012 13:59:45 +0000 (09:59 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 9 Aug 2012 14:02:50 +0000 (10:02 -0400)
commitbe690e291d59e8d0c9f4df59abe09f1ff6cc0da9
tree7caef7285152bac1818ff8665808224093caa184
parent92ec0370eb65c4f059f2b60ee6e458b312bb7cbf
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.
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/command.c
src/bin/psql/help.c
src/bin/psql/startup.c