git.postgresql.org Git - postgresql.git/commit
2008年4月24日 20:17:50 +0000 (20:17 +0000)
2008年4月24日 20:17:50 +0000 (20:17 +0000)
commit 5c068038ff69469c7ba7c6b88da27ed734ee4ad1
Fix ALTER TABLE ADD COLUMN ... PRIMARY KEY so that the new column is correctly
checked to see if it's been initialized to all non-nulls. The implicit NOT
NULL constraint was not being checked during the ALTER (in fact, not even if
there was an explicit NOT NULL too), because ATExecAddColumn neglected to
set the flag needed to make the test happen. This has been broken since
the capability was first added, in 8.0.
Brendan Jurd, per a report from Kaloyan Iliev.
This is the main PostgreSQL git repository.
RSS
Atom