postgresql/src/backend
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
..
access Update error messages, per notes from Tom. 2008-04-24 14:23:43 +00:00
bootstrap Allow float8, int8, and related datatypes to be passed by value on machines 2008-04-21 00:26:47 +00:00
catalog Allow float8, int8, and related datatypes to be passed by value on machines 2008-04-21 00:26:47 +00:00
commands Fix ALTER TABLE ADD COLUMN ... PRIMARY KEY so that the new column is correctly 2008-04-24 20:17:50 +00:00
executor Fix a couple of places in execMain that erroneously assumed that SELECT FOR 2008-04-21 03:49:45 +00:00
lib Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
libpq Use error message wordings for permissions checks on .pgpass and SSL private 2008-03-31 02:43:14 +00:00
main Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
nodes Push index operator lossiness determination down to GIST/GIN opclass 2008-04-14 17:05:34 +00:00
optimizer Fix convert_IN_to_join to properly handle the case where the subselect's 2008-04-21 20:54:15 +00:00
parser Issue explicit error messages for attempts to use "shell" operators in 2008-04-22 01:34:34 +00:00
po Translation updates 2008-01-31 18:04:52 +00:00
port Repair two places where SIGTERM exit could leave shared memory state 2008-04-16 23:59:40 +00:00
postmaster Prevent shutdown in normal mode if online backup is running, and 2008-04-23 13:44:59 +00:00
regex Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
rewrite Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
snowball Implement a few changes to how shared libraries and dynamically loadable 2008-04-07 14:15:58 +00:00
storage Fix two race conditions between the pending unlink mechanism that was put in 2008-04-18 06:48:38 +00:00
tcop Revert addition of pg_terminate_backend() because of race conditions. 2008-04-15 20:28:47 +00:00
tsearch Simplify and standardize conversions between TEXT datums and ordinary C 2008-03-25 22:42:46 +00:00
utils Allow float8, int8, and related datatypes to be passed by value on machines 2008-04-21 00:26:47 +00:00
Makefile Enable probes to work with Mac OS X Leopard and other OSes that will 2008-03-17 19:44:41 +00:00
common.mk We need to rebuild objfiles.txt when one of the subdirectories' objfiles.txt 2008-03-17 18:24:56 +00:00
nls.mk Add a new ereport auxiliary function errdetail_log(), which works the same as 2008-03-24 18:08:47 +00:00