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

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Error code for "terminating connection due to conflict with recovery"
Дата
Msg-id 20110111.153026.774325078237384385.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: Error code for "terminating connection due to conflict with recovery"  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Error code for "terminating connection due to conflict with recovery"  (Robert Haas <robertmhaas@gmail.com>)
Список 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.

What about:

40004 CONFLICT WITH RECOVERY conflict_with_recovery
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Compatibility GUC for serializable
Следующее
От: Maciej Sakrejda
Дата:
Сообщение: casts: max double precision > text > double precision fails with out or range error