Re: psql terminates on first error

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: psql terminates on first error
Дата
Msg-id 1b41a19f-5672-e185-f3ec-df96c6dcbae7@gmx.net
обсуждение исходный текст
Ответ на Re: psql terminates on first error  (Holger Jakobs <holger@jakobs.com>)
Ответы Re: psql terminates on first error
Список pgsql-admin
Holger Jakobs schrieb am 02.03.2023 um 13:44:
>>> Only when using an option -c "\set ON_ERROR_STOP false" (plus -f - of
>>> course to continue reading) psql continued after first error.
>> Do you use PowerShell and pipe pg_dumpall into psql?  The first thing that
>> comes to my mind when reading Postgres+Windows is that PowerShell up to
>> version 5.1 converts stdout to UTF-16LE.  This already tripped me up in
>> past with pg_dump and psql.
> No, it was in cmd.exe or in bash

I find using pipes with the Postgres command line tools on Windows unreliable
in general (including cmd.exe). So if you did use redirection/pips, try without.





В списке pgsql-admin по дате отправления:

Предыдущее
От: Holger Jakobs
Дата:
Сообщение: Re: psql terminates on first error
Следующее
От: Holger Jakobs
Дата:
Сообщение: Re: psql terminates on first error