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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Error code for "terminating connection due to conflict with recovery"
Дата
Msg-id AANLkTik5LQkDDQ0AC7WBG9X-hURSwwi98OHax8Tyya3h@mail.gmail.com
обсуждение исходный текст
Ответ на Error code for "terminating connection due to conflict with recovery"  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: Error code for "terminating connection due to conflict with recovery"  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
On Sat, Jan 8, 2011 at 9:52 AM, Tatsuo Ishii <ishii@postgresql.org> wrote:
> While looking at the backend code, I realized that error code for
> "terminating connection due to conflict with recovery" is
> ERRCODE_ADMIN_SHUTDOWN.
>
> I thought the error code is for somewhat a human interruption, such as
> shutdown command issued by pg_ctl. Is the usage of the error code
> appropreate?

That doesn't sound right to me.  I'd have thought something in class 40.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: SSI patch(es)
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: SSI patch(es)