Alvaro Herrera <[EMAIL PROTECTED]> writes:
> Tom Lane escribió:
>> Hmm, that's a bit problematic because resowner.c doesn't have any global
>> notion of what resource owners exist.  I think you still need to have
>> snapmgr.c maintain a list of all known snapshots.  resowner.c can only
>> help you with tracking reference counts for particular snapshots.

> A counter seems to suffice.  Patch attached.

Looks sane to me.  The list solution might be needed later, if we wanted
to get smarter about advancing our xmin after deleting only some of our
snapshots ... but this'll do for now.

                        regards, tom lane

-- 
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