Re: Error code for "terminating connection due to conflict with recovery"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error code for "terminating connection due to conflict with recovery"
Дата
Msg-id 11580.1296520412@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Error code for "terminating connection due to conflict with recovery"  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> BTW, anybody know why we have PL/pgSQL condition codes for conditions
> that can't be trapped by PL/pgSQL? ERRCODE_ADMIN_SHUTDOWN and
> ERRCODE_DATABASE_DROPPED are always FATAL. Seems like pointless code to
> me.

There's a difference between not being able to trap the error and not
being able to name it at all.  You might wish to throw it, for instance.
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Error code for "terminating connection due to conflict with recovery"
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade fails for non-postgres user