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

pgsql-server: Allow use of table rowtypes directly as column types of

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Allow use of table rowtypes directly as column types of
Date: 2004-06-06 20:30:07
Message-ID: 20040606203007.CBED6D1B211@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Allow use of table rowtypes directly as column types of other tables.
Instead of prohibiting that, put code into ALTER TABLE to reject ALTERs
that would affect other tables' columns.  Eventually we will probably
want to extend ALTER TABLE to actually do something useful here, but
in the meantime it seems wrong to forbid the feature completely just
because ALTER isn't fully baked.

Modified Files:
--------------
    pgsql-server/src/backend/catalog:
        heap.c (r1.268 -> r1.269)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/catalog/heap.c.diff?r1=1.268&r2=1.269)
    pgsql-server/src/backend/commands:
        tablecmds.c (r1.111 -> r1.112)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/tablecmds.c.diff?r1=1.111&r2=1.112)

pgsql-committers by date

Next:From: Tom LaneDate: 2004-06-06 21:20:47
Subject: pgsql-server: Add some regression tests for composite-type operations.
Previous:From: Tom LaneDate: 2004-06-06 19:07:02
Subject: pgsql-server: Minor catalog cleanups for composite-type stuff.

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