Re: Sync Rep and shutdown Re: Sync Rep v19

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Sync Rep and shutdown Re: Sync Rep v19
Дата
Msg-id AANLkTin5iJ+fk28MK4Tq0tsbfizmkGVZXU+NonwUb=AJ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Sync Rep and shutdown Re: Sync Rep v19  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Sync Rep and shutdown Re: Sync Rep v19  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On Thu, Mar 17, 2011 at 6:00 PM, Jeff Davis <pgsql@j-davis.com> wrote:
> On Wed, 2011-03-16 at 13:35 -0400, Robert Haas wrote:
>> 2. If a query cancel interrupt is received (pg_cancel_backend or ^C),
>> then cancel the sync rep wait and issue a warning before acknowledging
>> the commit.
>
> When I saw this commit, I noticed that the WARNING doesn't have an
> errcode(). It seems like it should -- this is the kind of thing that the
> client is likely to care about, and may want to handle specially.

Should I invent ERRCODE_WARNING_TRANSACTION_NOT_REPLICATED?

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


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Basic Recovery Control functions for use in Hot Standby. Pause,
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Basic Recovery Control functions for use in Hot Standby. Pause,