Re: support for NEXT VALUE FOR expression

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: support for NEXT VALUE FOR expression
Дата
Msg-id 17890.1471405970@sss.pgh.pa.us
обсуждение исходный текст
Ответ на support for NEXT VALUE FOR expression  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: support for NEXT VALUE FOR expression  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> Here is a patch for implementing the NEXT VALUE FOR expression.  This is
> the SQL-standard conforming version of our nextval() function, and it's
> also used by Oracle, MS SQL, DB2.  Example:

We discussed this before and concluded that NEXT VALUE FOR is in fact
*not* an exact semantic equivalent of nextval():

https://www.postgresql.org/message-id/14790.1083955136%40sss.pgh.pa.us

I remain of the opinion that using spec-compliant syntax for
non-spec-compliant behavior isn't a great advance.
        regards, tom lane



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: support for NEXT VALUE FOR expression
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: support for NEXT VALUE FOR expression