Skip to content
Snippets Groups Projects
Commit b3687889 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Update CREATE SEQUENCE documentation to show the same sequence being

created and increments.  The old docs created the sequence, then showed
a nextval() of 114.
parent 40bf8717
No related branches found
No related tags found
No related merge requests found
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.47 2007/02/01 00:28:18 momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.48 2007/02/01 00:34:03 momjian Exp $
PostgreSQL documentation
-->
......@@ -288,7 +288,18 @@ SELECT nextval('serial');
nextval
---------
114
101
</programlisting>
</para>
<para>
Select the next number from this sequence:
<programlisting>
SELECT nextval('serial');
nextval
---------
102
</programlisting>
</para>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment