Re: mvcc catalo gsnapshots and TopTransactionContext

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: mvcc catalo gsnapshots and TopTransactionContext
Дата
Msg-id CA+Tgmoam4Exh2KLbqRyR8ijeRBqnQApXo7KQSaTEwpwgb45b5w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: mvcc catalo gsnapshots and TopTransactionContext  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: mvcc catalo gsnapshots and TopTransactionContext  (Andres Freund <andres@2ndquadrant.com>)
Re: mvcc catalo gsnapshots and TopTransactionContext  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Fri, Oct 4, 2013 at 3:20 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> On 2013-10-04 15:15:36 -0400, Robert Haas wrote:
>> Andres, are you (or is anyone) going to try to fix this assertion failure?
>
> I think short term replacing it by IsTransactionOrTransactionBlock() is
> the way to go. Entirely restructuring how cache invalidation in the
> abort path works is not a small task.

Well, if we're going to go that route, how about something like the
attached?  I included the assert-change per se, an explanatory
comment, and the test case that Noah devised to cause the current
assertion to fail.

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

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: space reserved for WAL record does not match what was written: panic on windows
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Patch: FORCE_NULL option for copy COPY in CSV mode