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

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql-server: Allow use of table rowtypes directly as column types of
Date
Msg-id 20040606203007.CBED6D1B211@svr1.postgresql.org
Whole thread Raw
List 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:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql-server: Minor catalog cleanups for composite-type stuff.
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql-server: Add some regression tests for composite-type operations.