INSERT ... RETURNING

Поиск
Список
Период
Сортировка
От omar@tinysofa.org
Тема INSERT ... RETURNING
Дата
Msg-id 1120535581.42ca041d40b36@webmail.tinysofa.org
обсуждение исходный текст
Ответы Re: INSERT ... RETURNING
Re: INSERT ... RETURNING
Список pgsql-patches
Hi there,

Attached is a patch (by Gavin Sherry, fixed up to apply to 8.1 by me) that
implements INSERT ... RETURNING functionality.

It does work for the common case of RETURNING the value of a serial/sequence
column, but gets confused when returning results out-of-order (CREATE TABLE x
(a int, b int), INSERT ... RETURNING b, a) and doesn't let you specify the same
column multiple times (INSERT ... RETURNING b, b). These will be addressed
soon.

Regards,
Omar Kilani

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: silence GCC4 warning
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: [HACKERS] Dbsize backend integration