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

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

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
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)