Re: COPY and Volatile default expressions

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: COPY and Volatile default expressions
Дата
Msg-id CA+TgmoYunLHaD66QX2J58YQmj58RFuOMDzp-a_guMzfbbPP3=A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: COPY and Volatile default expressions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: COPY and Volatile default expressions
Re: COPY and Volatile default expressions
Список pgsql-hackers
On Mon, Apr 15, 2013 at 11:49 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I claim this is a common class, since sequence next_val functions and
>> uuid generators meet that criteria and most common forms of auditing
>> trigger, as well as any other form of data-reformatting trigger.
>
> I don't believe that it's a good idea to consider nextval() to be
> reorderable, so I'm not convinced by your argument here.

Why not?

I admit that I can't convince myself that it's safe.  But I can't
think of a concrete example where it breaks anything, either.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: COPY and Volatile default expressions
Следующее
От: Rodrigo Barboza
Дата:
Сообщение: Query not using index for user defined type