Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: sequence skips 30 values, how?



DelGurth <delgurth(at)gmail(dot)com> 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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group