From d4f4b971a4eb7992add4e70752aa9d0936c43dcc Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 16 Aug 2001 20:38:56 +0000 Subject: Sequences are now based on int8, not int4, arithmetic. SERIAL pseudo-type has an alias SERIAL4 and a sister SERIAL8. SERIAL8 is just the same except the created column is type int8 not int4. initdb forced. Note this also breaks any chance of pg_upgrade from 7.1, unless we hack up pg_upgrade to drop and recreate sequences. (Which is not out of the question, but I don't wanna do it.) --- doc/src/sgml/ref/create_sequence.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/src/sgml/ref/create_sequence.sgml') diff --git a/doc/src/sgml/ref/create_sequence.sgml b/doc/src/sgml/ref/create_sequence.sgml index 5d5a59d28ab..4f7b8b296d7 100644 --- a/doc/src/sgml/ref/create_sequence.sgml +++ b/doc/src/sgml/ref/create_sequence.sgml @@ -1,5 +1,5 @@ @@ -79,7 +79,7 @@ CREATE [ TEMPORARY | TEMP ] SEQUENCE seqnameMINVALUE minvalue determines the minimum value - a sequence can generate. The defaults are 1 and -2147483647 for + a sequence can generate. The defaults are 1 and -2^63-1 for ascending and descending sequences, respectively. @@ -92,7 +92,7 @@ CREATE [ TEMPORARY | TEMP ] SEQUENCE seqnameMAXVALUE maxvalue determines the maximum - value for the sequence. The defaults are 2147483647 and -1 for + value for the sequence. The defaults are 2^63-1 and -1 for ascending and descending sequences, respectively. -- cgit v1.2.3