Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows
Дата
Msg-id 508444D2.4020508@dunslane.net
обсуждение исходный текст
Ответ на Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows
Список pgsql-hackers
On 10/21/2012 02:47 PM, Andres Freund wrote:
> On Sunday, October 21, 2012 08:45:31 PM Andrew Dunstan wrote:



>>
>> I guess in such a case I'd be inclined to precompute the id values and
>> then supply them in the values clause. That means two round trips rather
>> than one.
> Which will fail should we get upsert one day...
>


Sufficient unto the day is the evil thereof. It seems premature to worry 
about it now.

cheers

andrew



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows