Alvaro Herrera escribió:

> The only thing I'm now missing is SnapshotResetXmin().  It currently
> looks like this:


> After the patch we don't have any way to detect whether resowner.c has
> any snapshot still linked to.  I assume there's no objection to adding a
> new entry point in resowner.c for this.

Hmm, that doesn't readily work because there's no way to track
transaction boundaries in resource owners.  I think I'll have to add a
separate static counter in snapmgr.c that's maintained by the calls from
resowner.c.

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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to