Re: snapshot leak and core dump with serializable transactions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: snapshot leak and core dump with serializable transactions
Дата
Msg-id 20081203125232.GB3968@alvh.no-ip.org
обсуждение исходный текст
Ответ на snapshot leak and core dump with serializable transactions  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Список pgsql-hackers
Pavan Deolasee escribió:

> 2. In CommitTransaction(), I think we should call AtEOXact_Snapshot *before*
> releasing the resource owners. Otherwise, ResourceOwnerReleaseInternal
> complains about snapshot leak and then forcefully unregisters the snapshot.
> Later when AtEOXact_Snapshot is called, it again tries to unregister the
> serializable snapshot and assertion fails.

Hmm, I've been wondering if we can get away with not having
AtEOXact_Snapshot at all.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pg_get_keywords descriptions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: maintenance memory vs autovac