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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix ALTER TABLE to check pre-existing NOT NULL constraints when
Date: 2006-07-10 22:10:47
Message-ID: 20060710221047.768DE9FB2E3@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-07-10 22:10:57 pgsql: Fix ALTER TABLE to check pre-existing NOT NULL constraints when
Previous Message Tom Lane 2006-07-10 22:10:39 pgsql: Fix ALTER TABLE to check pre-existing NOT NULL constraints when