OSDN Git Service

Sequences are now based on int8, not int4, arithmetic. SERIAL pseudo-type
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Aug 2001 20:38:56 +0000 (20:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Aug 2001 20:38:56 +0000 (20:38 +0000)
commitd4f4b971a4eb7992add4e70752aa9d0936c43dcc
tree59ef607b44a6bedc3eeb9b06cc77850649ca7ae0
parentbcb0ccf5be9ef9e1a76968e773cb2bd11565ef9c
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.)
21 files changed:
contrib/spi/autoinc.c
doc/src/sgml/datatype.sgml
doc/src/sgml/ref/create_sequence.sgml
src/backend/commands/creatinh.c
src/backend/commands/sequence.c
src/backend/commands/view.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/outfuncs.c
src/backend/parser/analyze.c
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/bin/pg_dump/pg_dump.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/commands/sequence.h
src/include/nodes/parsenodes.h
src/interfaces/ecpg/preproc/keywords.c
src/interfaces/ecpg/preproc/preproc.y
src/test/regress/expected/rules.out
src/test/regress/regress.c