Re: insert ... delete ... returning ... ? - Mailing list pgsql-hackers

From Jonah H. Harris
Subject Re: insert ... delete ... returning ... ?
Date
Msg-id 36e682920802241514l4ce3454bvd2d84112a494cc27@mail.gmail.com
Whole thread Raw
In response to Re: insert ... delete ... returning ... ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: insert ... delete ... returning ... ?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Sun, Feb 24, 2008 at 5:44 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Jonah H. Harris" <jonah.harris@gmail.com> writes:
>  > Not stupid, it doesn't work :)  This was a limitation of the original
>  > design based on (IIRC) executor-related issues.
>
>  There are definitional issues not only implementation ones; in
>  particular, in subquery-like cases it's entirely unclear how many times
>  the DML operation will or should get evaluated.

Yup,that's what it was.  I think I remember the trigger-level and
top-level executor-related stuff.  If I'm in that area of the code
soon, I'll see how much would be involved and if I think I have enough
time, submit a proposal for it.

-- 
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation                | fax: 732.331.1301
499 Thornall Street, 2nd Floor          | jonah.harris@enterprisedb.com
Edison, NJ 08837                        | http://www.enterprisedb.com/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: insert ... delete ... returning ... ?
Next
From: Mark Mielke
Date:
Subject: Re: insert ... delete ... returning ... ?