VALUES() evaluation order

Поиск
Список
Период
Сортировка
От Steve Atkins
Тема VALUES() evaluation order
Дата
Msg-id 5D5660F3-58EB-493B-91BB-27E7FB4DCE5A@blighty.com
обсуждение исходный текст
Ответы Re: VALUES() evaluation order  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Is the order in which the expressions in a VALUES() clause defined?

I'm doing this: INSERT INTO foo (a, b) VALUES (nextval('bar'), currval('bar'))

It works fine, but I'm wondering whether it's guaranteed to work or whether I'm relying on an artifact of the
implementation.

Cheers,
  Steve



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

Предыдущее
От: Scott Ribe
Дата:
Сообщение: Re: 9.2 upgrade glitch with search_path
Следующее
От: Tom Lane
Дата:
Сообщение: Re: VALUES() evaluation order