Re: Writeable CTEs and empty relations - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: Writeable CTEs and empty relations
Date
Msg-id 4B71FCEF.8040208@cs.helsinki.fi
Whole thread Raw
In response to Re: Writeable CTEs and empty relations  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Writeable CTEs and empty relations
List pgsql-hackers
On 2010-02-10 02:19 +0200, Tom Lane wrote:
> Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi> writes:
>> Does this sound completely unacceptable?
> 
> You still haven't explained why it's a good idea to change the snapshot
> after the executor has started.  Right at the moment I'm prepared to
> reject the patch on that ground alone.

The patch only touches the snapshot's curcid.  That's needed to allow
the queries see the tuples of the DML WITHs ran before that particular
query.


Regards,
Marko Tiikkaja


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Writeable CTEs and empty relations
Next
From: Jeff Davis
Date:
Subject: Re: Listen / Notify - what to do when the queue is full