From b3687889c486d3a808cad0b46d6bf6c71d943d1c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 1 Feb 2007 00:34:03 +0000 Subject: [PATCH] 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. --- doc/src/sgml/ref/create_sequence.sgml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/ref/create_sequence.sgml b/doc/src/sgml/ref/create_sequence.sgml index 61bee148bf..e5afabf12a 100644 --- a/doc/src/sgml/ref/create_sequence.sgml +++ b/doc/src/sgml/ref/create_sequence.sgml @@ -1,5 +1,5 @@ @@ -288,7 +288,18 @@ SELECT nextval('serial'); nextval --------- - 114 + 101 + + + + + Select the next number from this sequence: + +SELECT nextval('serial'); + + nextval +--------- + 102 -- GitLab