Search Postgresql Archives

Re: sequence skips 30 values, how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DelGurth <delgurth@xxxxxxxxx> writes:
> Slightly OT. That documentation page of postgresql contains an invalid
> example. Not sure if I should report it in here, but well, there you
> go.

> CREATE SEQUENCE serial START 101;
> SELECT nextval('serial');
>  nextval
> ---------
>      114

> So you start at 101 and get 114, how nice ;-)

I think the assumption is that some time has passed (and some use of the
sequence) in between those steps.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux