git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40bf871)
Update CREATE SEQUENCE documentation to show the same sequence being
Thu, 1 Feb 2007 00:34:03 +0000 (00:34 +0000)
Thu, 1 Feb 2007 00:34:03 +0000 (00:34 +0000)
created and increments. The old docs created the sequence, then showed
a nextval() of 114.


diff --git a/doc/src/sgml/ref/create_sequence.sgml b/doc/src/sgml/ref/create_sequence.sgml
index 61bee148bfafc51b02e41640da748c020dba7d34..e5afabf12aeeae75bc9a3dd9b1ee5e8c9f5ea33e 100644 (file)
--- a/doc/src/sgml/ref/create_sequence.sgml
+++ b/doc/src/sgml/ref/create_sequence.sgml
@@ -1,5 +1,5 @@
<!--
-$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>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /