Re: tweak CREATE SEQUENCE grammar
От
Peter Eisentraut
Тема
Re: tweak CREATE SEQUENCE grammar
Дата
Msg-id
Pine.LNX.4.44.0210012018470.1149-100000@localhost.localdomain
Ответ на
Re: tweak CREATE SEQUENCE grammar (Neil Conway)
Список
Дерево обсуждения
tweak CREATE SEQUENCE grammar Neil Conway <neilc@samurai.com>
Re: tweak CREATE SEQUENCE grammar Bruce Momjian <pgman@candle.pha.pa.us>
Re: tweak CREATE SEQUENCE grammar Bruce Momjian <pgman@candle.pha.pa.us>
Re: tweak CREATE SEQUENCE grammar Neil Conway <neilc@samurai.com>
Re: tweak CREATE SEQUENCE grammar Tom Lane <tgl@sss.pgh.pa.us>
Re: tweak CREATE SEQUENCE grammar Neil Conway <neilc@samurai.com>
Re: tweak CREATE SEQUENCE grammar Peter Eisentraut <peter_e@gmx.net>
Re: tweak CREATE SEQUENCE grammar Neil Conway <neilc@samurai.com>
Re: tweak CREATE SEQUENCE grammar Peter Eisentraut <peter_e@gmx.net>
Re: tweak CREATE SEQUENCE grammar Neil Conway <neilc@samurai.com>
Re: tweak CREATE SEQUENCE grammar Peter Eisentraut <peter_e@gmx.net>
Re: tweak CREATE SEQUENCE grammar Neil Conway <neilc@samurai.com>
Re: tweak CREATE SEQUENCE grammar Bruce Momjian <pgman@candle.pha.pa.us>
Re: tweak CREATE SEQUENCE grammar Neil Conway <neilc@samurai.com>
Re: tweak CREATE SEQUENCE grammar Bruce Momjian <pgman@candle.pha.pa.us>
Re: tweak CREATE SEQUENCE grammar Bruce Momjian <pgman@candle.pha.pa.us>
Re: tweak CREATE SEQUENCE grammar Peter Eisentraut <peter_e@gmx.net>
Neil Conway writes:
> > [spec defines different syntax to ] set the current value, define
> > "serial" columns
>
> Can you point me to where in the standard these are defined? (I looked
> briefly but couldn't find it.)
The current value is set with ALTER SEQUENCE name RESTART WITH value;
(11.63). "serial" columns are defined like
foo int GENERATED BY DEFAULT AS IDENTITY [(sequence options)]
(11.4).
> This passage suggests to me that sequences can contain holes (4.22,
> p.71):
You're right.
--
Peter Eisentraut peter_e@gmx.net
В списке pgsql-patches по дате отправления