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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix ALTER TABLE to check pre-existing NOT NULL constraints when
Date
Msg-id 20060710221047.768DE9FB2E3@postgresql.org
Whole thread Raw
List pgsql-committers
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_1_STABLE

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

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

pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Allow /contrib include files to compile on their own.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix ALTER TABLE to check pre-existing NOT NULL constraints when