Re: Writeable CTE patch

Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>

From: Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alex Hunsaker <badalex@gmail.com>, pgsql-hackers@postgresql.org
Date: 2009-12-07T14:46:11Z
Lists: pgsql-hackers
Tom Lane wrote:
> The only thing that I'd be comfortable with is
> copying the snap and modifying the copy.

I don't see an easy way to do that with the current code; CopySnapshot() 
is static and PushUpdatedSnapshot() seems to be a bit of a pain since it 
messes up some of the existing code which uses the active snapshot 
stack.  Any ideas?


Regards,
Marko Tiikkaja