Re: [PATCHES] [WIP] Keeping track of snapshots

2008-03-28 Thread Alvaro Herrera
Gregory Stark wrote: > "Alvaro Herrera" <[EMAIL PROTECTED]> writes: > > > The other question is about CommitTransactionCommand. Currently my > > EOXact routine barfs for every snapshot not unregistered on main > > transaction commit -- a leak. I see this as a good thing, however it > > forced me

Re: [PATCHES] [WIP] Keeping track of snapshots

2008-03-28 Thread Gregory Stark
"Alvaro Herrera" <[EMAIL PROTECTED]> writes: > The other question is about CommitTransactionCommand. Currently my > EOXact routine barfs for every snapshot not unregistered on main > transaction commit -- a leak. I see this as a good thing, however it > forced me to be more meticulous about not

[PATCHES] [WIP] Keeping track of snapshots

2008-03-28 Thread Alvaro Herrera
This is the patch I am currently playing with, to keep track of the live snapshots within a transaction. There are some obvious bugs left, and it open certain questions. The most obvious bug is that it is not tracking SerializableSnapshot in a serializable transaction. The main question I curren