Re: Making psql error out on output failures
От
Daniel Verite
Тема
Re: Making psql error out on output failures
Дата
Msg-id
efcc6033-deb2-45b5-9acf-47a120252d96@manitou-mail.org
Ответ на
Список
Дерево обсуждения
Making psql error out on output failures "Daniel Verite" <daniel@manitou-mail.org>
Re: Making psql error out on output failures David Z <idrawone@gmail.com>
Re: Making psql error out on output failures "Daniel Verite" <daniel@manitou-mail.org>
Re: Making psql error out on output failures David Zhang <david.zhang@highgo.ca>
Re: Making psql error out on output failures "Daniel Verite" <daniel@manitou-mail.org>
Re: Making psql error out on output failures David Zhang <david.zhang@highgo.ca>
Re: Making psql error out on output failures "Daniel Verite" <daniel@manitou-mail.org>
Re: Making psql error out on output failures David Zhang <david.zhang@highgo.ca>
Re: Making psql error out on output failures "Daniel Verite" <daniel@manitou-mail.org>
Re: Making psql error out on output failures David Zhang <david.zhang@highgo.ca>
Re: Making psql error out on output failures "Daniel Verite" <daniel@manitou-mail.org>
Re: Making psql error out on output failures David Zhang <david.zhang@highgo.ca>
Re: Making psql error out on output failures Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Making psql error out on output failures David Zhang <david.zhang@highgo.ca>
Re: Making psql error out on output failures "Daniel Verite" <daniel@manitou-mail.org>
Re: Making psql error out on output failures Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Making psql error out on output failures "Daniel Verite" <daniel@manitou-mail.org>
David Z wrote:
> $ psql -d postgres -At -c "select repeat('111', 1000000)" >
> /mnt/ramdisk/file
The -A option selects the unaligned output format and -t
switches to the "tuples only" mode (no header, no footer).
> Test-2: delete the "file", run the command within psql console,
> $ rm /mnt/ramdisk/file
> $ psql -d postgres
In this invocation there's no -A and -t, so the beginning of the
output is going to be a left padded column name that is not in the
other output.
The patch is not involved in that difference.
Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite
В списке pgsql-hackers по дате отправления
От: Daniel Gustafsson
Дата: