]> granicus.if.org Git - postgresql/commit
Allow use of table rowtypes directly as column types of other tables.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Jun 2004 20:30:07 +0000 (20:30 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Jun 2004 20:30:07 +0000 (20:30 +0000)
commitbb3da43e3bd2a74c5caf8eca7f47ff4198f479ec
tree9188729adb81f08c5bbc13eab0a841782ce70b82
parent19e3bdd6c79568f902dc3613c69f0788f8de583f
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.
src/backend/catalog/heap.c
src/backend/commands/tablecmds.c