Re: [HACKERS] Snapshot memory management

2008-04-11 Thread Alvaro Herrera
Alvaro Herrera wrote: > To implement this I propose keeping track of four additional pointers in > SnapshotData: "next" and "prev" in the registered list, and "next" and > "prev" in the active stack. FWIW this does not work as proposed because one snapshot can be stored as active more than once s

[HACKERS] Snapshot memory management

2008-04-08 Thread Alvaro Herrera
Hi, So far I've posted two patches on snapshot tracking: one to keep track of "regular" snapshots[1] and another to keep track of snapshots used as ActiveSnapshot[2]. [1] http://archives.postgresql.org/message-id/[EMAIL PROTECTED] [2] http://archives.postgresql.org/message-id/[EMAIL PROTECTED] T