Thread: pgsql: Fix ALTER TABLE to check pre-existing NOT NULL constraints when

pgsql: Fix ALTER TABLE to check pre-existing NOT NULL constraints when

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix ALTER TABLE to check pre-existing NOT NULL constraints when rewriting
a table.  Otherwise a USING clause that yields NULL can leave the table
violating its constraint (possibly there are other cases too).  Per report
from Alexander Pravking.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablecmds.c (r1.142.4.5 -> r1.142.4.6)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.142.4.5&r2=1.142.4.6)