Обсуждение: pgsql-server: Allow use of table rowtypes directly as column types of

Поиск
Список
Период
Сортировка

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

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
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)