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
обсуждение исходный текст
Ответ на Re: Making psql error out on output failures  (David Z <idrawone@gmail.com>)
Ответы Re: Making psql error out on output failures
Список pgsql-hackers
    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
Дата:
Сообщение: Re: Setting min/max TLS protocol in clientside libpq
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Create/alter policy and exclusive table lock