Simon Riggs wrote:
> Forgive me for being dense, but what is there to stop you using a
> CopySnapshot in TopMemoryContext? If you did, there would be no way to
> free it, nor would we notice it had been done, AFAICS. Not anything I'm
> thinking about doing, though.
Well, TopMemoryContext is no good because we want to free snapshots in a
fell swoop at transaction abort. TopTransactionContext would be OK, as
I just said in the parallel subthread.
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
In response to
pgsql-patches by date
|Next:||From: Magnus Hagander||Date: 2008-04-23 13:45:40|
|Subject: Re: Improve shutdown during online backup, take 4|
|Previous:||From: Simon Riggs||Date: 2008-04-23 13:25:15|
|Subject: Re: Snapshot management, final|