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