Обсуждение: pgsql: Fix ALTER TABLE ADD COLUMN so that constraints of domain types

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

pgsql: Fix ALTER TABLE ADD COLUMN so that constraints of domain types

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Fix ALTER TABLE ADD COLUMN so that constraints of domain types are
enforced properly when there is no explicit default value for the new
column.  Per report from Craig Perras.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablecmds.c (r1.142 -> r1.142.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.142&r2=1.142.4.1)
        typecmds.c (r1.65 -> r1.65.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/typecmds.c.diff?r1=1.65&r2=1.65.4.1)