postgresql/src/backend/commands
Tom Lane 5c068038ff 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.
2008-04-24 20:17:50 +00:00
..
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
aggregatecmds.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
alter.c Support ALTER TYPE RENAME. Petr Jelinek 2008-03-19 18:38:30 +00:00
analyze.c Allow float8, int8, and related datatypes to be passed by value on machines 2008-04-21 00:26:47 +00:00
async.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
cluster.c Phase 2 of project to make index operator lossiness be determined at runtime 2008-04-13 19:18:14 +00:00
comment.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
conversioncmds.c Reduce the need for frontend programs to include "postgres.h" by refactoring 2008-03-27 03:57:34 +00:00
copy.c Rename snapmgmt.c/h to snapmgr.c/h, for consistency with other files. 2008-03-26 18:48:59 +00:00
dbcommands.c Fix rmtree() so that it keeps going after failure to remove any individual 2008-04-18 17:05:45 +00:00
define.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
discard.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
explain.c Cause EXPLAIN's VERBOSE option to print the target list (output column list) 2008-04-18 01:42:17 +00:00
functioncmds.c Reduce the need for frontend programs to include "postgres.h" by refactoring 2008-03-27 03:57:34 +00:00
indexcmds.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
lockcmds.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
opclasscmds.c Push index operator lossiness determination down to GIST/GIN opclass 2008-04-14 17:05:34 +00:00
operatorcmds.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
portalcmds.c Revert my bad decision of about a year ago to make PortalDefineQuery 2008-04-02 18:31:50 +00:00
prepare.c Revert my bad decision of about a year ago to make PortalDefineQuery 2008-04-02 18:31:50 +00:00
proclang.c Reduce the need for frontend programs to include "postgres.h" by refactoring 2008-03-27 03:57:34 +00:00
schemacmds.c Make standard maintenance operations (including VACUUM, ANALYZE, REINDEX, 2008-01-03 21:23:15 +00:00
sequence.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tablecmds.c Fix ALTER TABLE ADD COLUMN ... PRIMARY KEY so that the new column is correctly 2008-04-24 20:17:50 +00:00
tablespace.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
trigger.c Support statement-level ON TRUNCATE triggers. Simon Riggs 2008-03-28 00:21:56 +00:00
tsearchcmds.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
typecmds.c Reduce the need for frontend programs to include "postgres.h" by refactoring 2008-03-27 03:57:34 +00:00
user.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
vacuum.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
vacuumlazy.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
variable.c Rename snapmgmt.c/h to snapmgr.c/h, for consistency with other files. 2008-03-26 18:48:59 +00:00
view.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00