summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2008-04-24 20:18:23 +0000
committerTom Lane2008-04-24 20:18:23 +0000
commit7f3d1583f8bc9f3bf6866e38f28c4671a0cb56f6 (patch)
tree9a4e27880a96b437db13fd0e43e1e0b3256e17d4 /doc/src
parenta357880dde5e932edc9f8dabaeb341ffa4ff61a0 (diff)
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.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions