Re: Using results from INSERT ... RETURNING

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Using results from INSERT ... RETURNING
Дата
Msg-id 20091008185657.GE5510@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Using results from INSERT ... RETURNING  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Using results from INSERT ... RETURNING  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Writeable CTEs and side effects
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: Using results from INSERT ... RETURNING