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:57
Message-ID: 20060710221057.A97599FB2E3@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_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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Nwakefield 2006-07-10 23:45:17 bizgres - bizgres: New Directory
Previous Message Tom Lane 2006-07-10 22:10:47 pgsql: Fix ALTER TABLE to check pre-existing NOT NULL constraints when