Re: Disable optimization when in subtransaction

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Disable optimization when in subtransaction
Дата
Msg-id 4D99CE5A020000250003C235@gw.wicourts.gov
обсуждение исходный текст
Ответ на Disable optimization when in subtransaction  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> wrote:
> When I was investigating this report:
>
> http://archives.postgresql.org/pgsql-bugs/2011-03/msg00349.php
>
> besides providing a straightforward fix here:
>
> http://archives.postgresql.org/pgsql-bugs/2011-03/msg00352.php
>
> I noted that there was nearby code which needed review, as it
> didn't seem safe when in a subtransaction.  Further review
> confirmed this and didn't turn up any other problems in that
> section of code. So, a fix for this overreaching optimization is
> attached.  Note that it is a one-line fix except for some
> additional comments to explain the limitation.
>
> This patch is in addition to and orthogonal to the first patch
> cited above.
>
> I will add this one to the 9.1 open items list.

I managed to get a one-line patch wrong.  Sorry.  2nd try.

-Kevin


Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: time table for beta1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: GUC assign hooks (was Re: wal_buffers = -1 and SIGHUP)