Re: psql no longer handles fatal/panic errors well

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql no longer handles fatal/panic errors well
Дата
Msg-id 15512.1059582620@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql no longer handles fatal/panic errors well  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I said:
> It seems odd that the FATAL error is reported after, rather than before,
> the reconnection attempt; and it's really not acceptable to lose the
> PANIC message entirely.

Also, both classes of messages seem to be dropped if psql is not running
interactively (probably since it exits without trying to reconnect).
If I run the regression tests against my hacked backend, the errors test
fails with:

--- 241,244 ---- -- Check that division-by-zero is properly caught. -- select 1/0;
! connection to server was lost

======================================================================
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: psql no longer handles fatal/panic errors well
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Upgrading my BSDI box, again