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.) --- src/backend/nodes/copyfuncs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/backend/nodes/copyfuncs.c') diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index cee80ce7202..68ad14119f1 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -15,7 +15,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.152 2001/08/10 18:57:36 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.153 2001/08/16 20:38:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1708,7 +1708,6 @@ _copyColumnDef(ColumnDef *from) newnode->colname = pstrdup(from->colname); Node_Copy(from, newnode, typename); newnode->is_not_null = from->is_not_null; - newnode->is_sequence = from->is_sequence; Node_Copy(from, newnode, raw_default); if (from->cooked_default) newnode->cooked_default = pstrdup(from->cooked_default); -- cgit v1.2.3