Re: Sync Rep v17

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sync Rep v17
Дата
Msg-id 28211.1299136440@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Sync Rep v17  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Sync Rep v17  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> On Thu, Mar 3, 2011 at 12:11 AM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com> wrote:
>> To achieve the effect Fujii is looking for, we would have to silently drop
>> the connection. That would correctly leave the client not knowing whether
>> the transaction committed or not.

> Yeah, this seems to make more sense.

It was pointed out that sending an ERROR would not do because it would
likely lead to client code assuming the transaction failed, which might
or might not be the case.  But maybe we could send a WARNING and then
close the connection?  That would give humans a clue what had happened,
but not do anything to the state of automated clients.
        regards, tom lane


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

Предыдущее
От: daveg
Дата:
Сообщение: Re: Re: PD_ALL_VISIBLE flag was incorrectly set happend during repeatable vacuum
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [PATCH] Add tab completion support for JOIN