Re: next value expression

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: next value expression
Дата
Msg-id 1038415873.1958.60.camel@tokyo
обсуждение исходный текст
Ответ на next value expression  (Manfred Koizar <mkoi-pg@aon.at>)
Ответы Re: next value expression  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: next value expression  (Manfred Koizar <mkoi-pg@aon.at>)
Список pgsql-hackers
On Wed, 2002-11-27 at 10:29, Manfred Koizar wrote:
> By accident I stumbled across the following paragraph in the August
> 2002 draft of SQL 2003:
> 
>     If there are multiple instances of <next value expression>s
>     specifying the same sequence generator within a single
>     SQL-statement, all those instances return the same value for a
>     given row processed by that SQL-statement.
> 
> Is this of any relevance to PG's nextval()?

Somewhat -- SQL2003 defines sequence generators that are pretty much
identical in functionality to PostgreSQL's sequences, although the
syntax is a bit different. I submitted a patch for 7.4 that adjusts the
CREATE SEQUENCE grammar to match SQL2003's CREATE SEQUENCE a little more
closely, but there's a bunch more work that can be done, if we want to
be fully SQL-compliant.

Cheers,

Neil
-- 
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC





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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: [GENERAL] FreeBSD, Linux: select, select count(*) performance
Следующее
От: Teodor Sigaev
Дата:
Сообщение: Re: contrib/ltree patches