| От | Tom Lane |
|---|---|
| Тема | Re: Using results from INSERT ... RETURNING |
| Дата | |
| Msg-id | 11377.1254242188@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Using results from INSERT ... RETURNING (Robert Haas <robertmhaas@gmail.com>) |
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Sep 29, 2009 at 11:29 AM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
>> BTW what was the conclusion of the idea about having three separate
>> nodes Insert, Delete, Update instead of a single Dml node?
> It wasn't obvious from reading the patch why multiple node types would
> be superior; but I'm not 100% sure I understand what Tom had in mind,
> either.
I thought they would be simpler/faster individually. However, that
might not be enough to outweigh 3x repetition of the per-node-type
boilerplate. I haven't read the patch yet so this isn't an informed
recommendation, just a suggestion of an alternative to consider.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера