functions with side effect

Поиск
Список
Период
Сортировка
От Torsten Förtsch
Тема functions with side effect
Дата
Msg-id CAKkG4_=MTjK6bAJDLM8brKR+U6JggZNhEta6nXgANUyWo8VcDA@mail.gmail.com
обсуждение исходный текст
Ответы Re: functions with side effect
Re: functions with side effect
Список pgsql-general
Hi,

assuming 

SELECT nextval('s'), currval('s');

or

SELECT * FROM (VALUES (nextval('s'), currval('s'))) t;

is there any guarantee that the 2 output values are the same?

Thanks,
Torsten

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

Предыдущее
От: Олег Самойлов
Дата:
Сообщение: Incorrect description of the WITH CHECK in the row security can lead to the security issue
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: functions with side effect