mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
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.
This commit is contained in:
@ -97,7 +97,7 @@ usage(void)
|
||||
printf(_(" -V, --version output version information, then exit\n"));
|
||||
printf(_(" -X, --no-psqlrc do not read startup file (~/.psqlrc)\n"));
|
||||
printf(_(" -1 (\"one\"), --single-transaction\n"
|
||||
" execute command file as a single transaction\n"));
|
||||
" execute as a single transaction (if non-interactive)\n"));
|
||||
printf(_(" -?, --help show this help, then exit\n"));
|
||||
|
||||
printf(_("\nInput and output options:\n"));
|
||||
|
Reference in New Issue
Block a user