From: Tom Lane Date: Sat, 27 Jan 2001 07:23:48 +0000 (+0000) Subject: Fix failure to create sequences for more than one SERIAL column in a X-Git-Tag: REL7_1~629 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80caa741ab325718ee987c559c78da91a0bb1116;p=postgresql Fix failure to create sequences for more than one SERIAL column in a table. --- diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c index 30a4c373eb..b1ccda71bf 100644 --- a/src/backend/parser/analyze.c +++ b/src/backend/parser/analyze.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: analyze.c,v 1.177 2001/01/24 19:43:00 momjian Exp $ + * $Id: analyze.c,v 1.178 2001/01/27 07:23:48 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -749,7 +749,7 @@ transformCreateStmt(ParseState *pstate, CreateStmt *stmt) elog(NOTICE, "CREATE TABLE will create implicit sequence '%s' for SERIAL column '%s.%s'", sequence->seqname, stmt->relname, column->colname); - blist = makeList1(sequence); + blist = lappend(blist, sequence); } /* Process column constraints, if any... */