Make psql -1 < file behave as expected.
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/psql-ref.sgml | modified | +5 −5 |
| src/bin/psql/command.c | modified | +5 −3 |
| src/bin/psql/help.c | modified | +1 −1 |
| src/bin/psql/startup.c | modified | +23 −4 |