Skip site navigation (1) Skip section navigation (2)

pgsql-server: Fix oversight in recent ALTER TABLE improvements.

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Fix oversight in recent ALTER TABLE improvements.
Date: 2004-06-10 18:25:05
Message-ID: 20040610182505.EC487D1B16B@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix oversight in recent ALTER TABLE improvements.  We now support
ALTER TABLE tab ADD COLUMN col SERIAL, but we forgot to install the
dependency between the column and the sequence, so the sequence
would not go away if you dropped the table later.

Modified Files:
--------------
    pgsql-server/src/backend/commands:
        tablecmds.c (r1.113 -> r1.114)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/tablecmds.c.diff?r1=1.113&r2=1.114)

Responses

pgsql-committers by date

Next:From: Tom LaneDate: 2004-06-10 18:34:46
Subject: pgsql-server: Make ALTER TABLE ADD SERIAL work reasonably in inheritance
Previous:From: Bruce MomjianDate: 2004-06-10 18:02:37
Subject: pgsql-server: Use /B to start so a new window isn't created, per Andrew

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group