pgsql: Fix ALTER TABLE ADD COLUMN so that constraints of domain types - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Fix ALTER TABLE ADD COLUMN so that constraints of domain types
Date
Msg-id 20050124232159.CE7403A56FD@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix ALTER TABLE ADD COLUMN so that constraints of domain types
Next
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Regression tests for recent bugfix to ALTER TABLE ADD COLUMN: