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.

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