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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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)

Browse pgsql-committers by date

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