Re: Snapshot management, final

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Snapshot management, final
Дата
Msg-id 20080512005538.GE5746@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Snapshot management, final  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Snapshot management, final  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:

I'm revising the patch; this comment is flawed though:

> Shouldn't UnregisterSnapshot insist that s_level be equal to current
> xact nest level?

It can't check that; consider

begin;
savepoint foo;
declare cur cursor for select (1), (2), (3);
savepoint bar;
close cur;
commit;

Thanks again for the review.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: options for RAISE statement
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Snapshot management, final