psql -1 -f - busted
| От | Stephen Frost |
|---|---|
| Тема | psql -1 -f - busted |
| Дата | |
| Msg-id | 20091022194234.GP17756@tamriel.snowman.net обсуждение исходный текст |
| Ответы |
Re: psql -1 -f - busted
|
| Список | pgsql-bugs |
Greetings,
-1 appears to be ignored when '-f -' is set.
test_file contains:
set client_min_messages=error;
create schema tiger_us;
These produce different results:
BEGIN, but no COMMIT:
beren:/data3/tiger> psql -o /dev/null -e \
--no-psqlrc \
-d gis -1 -q \
--set VERBOSITY=terse \
--set AUTOCOMMIT=off \
--set ON_ERROR_STOP=true \
--set ON_ERROR_ROLLBACK=off \
-f - < test_file
BEGIN and COMMIT:
beren:/data3/tiger> psql -o /dev/null -e \
--no-psqlrc \
-d gis -1 -q \
--set VERBOSITY=terse \
--set AUTOCOMMIT=off \
--set ON_ERROR_STOP=true \
--set ON_ERROR_ROLLBACK=off \
-f test_file
Seems like -1 should work even if -f is set to stdin..
Thanks,
Stephen
В списке pgsql-bugs по дате отправления: