NEXT VALUE FOR

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема NEXT VALUE FOR
Дата
Msg-id CADLWmXUY2oo4XObQWF3yPUSK=5uEiSV=eTyLrnu=RzteOy+3Lg@mail.gmail.com
обсуждение исходный текст
Ответы Re: NEXT VALUE FOR
Re: NEXT VALUE FOR
Список pgsql-hackers
Hi

SQL:2003 introduced the function NEXT VALUE FOR <sequence>. Google
tells me that at least DB2, SQL Server and a few niche databases
understand it so far.  As far as I can tell there is no standardised
equivalent of currval and setval (but I only have access to second
hand information about the standard, like articles and the manuals of
other products).

Here is a starter patch to add it.  To avoid a shift/reduce conflict,
I had to reclassify the keyword NEXT.  I admit that I don't fully
understand the consequences of that change!  Please let me know if you
think this could fly.

Best regards,
Thomas Munro

Вложения

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

Предыдущее
От: Ilya Kosmodemiansky
Дата:
Сообщение: Dynamic LWLock tracing via pg_stat_lwlock (proof of concept)
Следующее
От: Herwin Weststrate
Дата:
Сообщение: Re: Allow format 0000-0000-0000 in postgresql MAC parser