Re: Hot Standby and query cancel

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Hot Standby and query cancel
Дата
Msg-id 1263471667.26654.20178.camel@ebony
обсуждение исходный текст
Ответ на Re: Hot Standby and query cancel  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Hot Standby and query cancel
Список pgsql-hackers
On Wed, 2010-01-13 at 19:23 +0000, Simon Riggs wrote:
> On Wed, 2010-01-13 at 19:58 +0100, Andres Freund wrote:
>
> > > I am still testing patch, so should be confident to commit tomorrow
> > > barring issues.
> > I have only looked at briefly because right now I dont have the time (going to
> > eat at a friends place...) but I think I spotted an issue:
> > The IsAbortedTransactionBlockState() check in RecoveryConflictInterrupt is not
> > correct right now because that returns true for TBLOCK_SUBABORT as well.
> > Wouldnt that mess with the case where were in a failed subxact and then
> > rollback only that subxact?
>
> Well spotted, yes.

Latest version of same patch, but uses conflict reasons passed-thru
directly from recovery to backend.

Please review, no commit before tomorrow.

--
 Simon Riggs           www.2ndQuadrant.com

Вложения

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Streaming replication and non-blocking I/O
Следующее
От: Matteo Beccati
Дата:
Сообщение: Re: mailing list archiver chewing patches