Re: Using results from INSERT ... RETURNING - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Using results from INSERT ... RETURNING
Date
Msg-id 20091008185657.GE5510@alvh.no-ip.org
Whole thread Raw
In response to Re: Using results from INSERT ... RETURNING  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Using results from INSERT ... RETURNING
List pgsql-hackers
Tom Lane escribió:
> I wrote:
> > Alvaro Herrera <alvherre@commandprompt.com> writes:
> >> BTW what was the conclusion of the idea about having three separate
> >> nodes Insert, Delete, Update instead of a single Dml node?
> 
> > If we stick with a single node type then I'd suggest calling it
> > something like ModifyTable.
> 
> I'm starting to work on this patch now.  After looking at it a bit,
> it seems to me that keeping it as one node is probably marginally
> preferable to making three nodes; but I still do not like the "Dml"
> name.  Does anyone have a problem with the ModifyTable suggestion,
> or a better idea?

Does it affect how is it going to look in EXPLAIN output?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Writeable CTEs and side effects
Next
From: Marko Tiikkaja
Date:
Subject: Re: Using results from INSERT ... RETURNING