postgresql/src/backend
Tom Lane 208d0a2321 Fix logical errors in constraint exclusion: we cannot assume that a CHECK
constraint yields TRUE for every row of its table, only that it does not
yield FALSE (a NULL result isn't disallowed).  This breaks a couple of
implications that would be true in two-valued logic.  I had put in one such
mistake in an 8.2.5 patch: foo IS NULL doesn't refute a strict operator
on foo.  But there was another in the original 8.2 release: NOT foo doesn't
refute an expression whose truth would imply the truth of foo.
Per report from Rajesh Kumar Mallah.

To preserve the ability to do constraint exclusion with one partition
holding NULL values, extend relation_excluded_by_constraints() to check
for attnotnull flags, and add col IS NOT NULL expressions to the set of
constraints we hope to refute.
2008-01-12 00:11:39 +00:00
..
access Make standard maintenance operations (including VACUUM, ANALYZE, REINDEX, 2008-01-03 21:23:15 +00:00
bootstrap Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
catalog The original implementation of polymorphic aggregates didn't really get the 2008-01-11 18:39:41 +00:00
commands Fix CREATE INDEX CONCURRENTLY to not deadlock against an automatic or manual 2008-01-09 21:52:36 +00:00
executor The original implementation of polymorphic aggregates didn't really get the 2008-01-11 18:39:41 +00:00
lib Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
libpq Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
main Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
nodes Fix an omission in the outfuncs.c support for Agg nodes: the grpColIdx 2008-01-09 08:46:44 +00:00
optimizer Fix logical errors in constraint exclusion: we cannot assume that a CHECK 2008-01-12 00:11:39 +00:00
parser The original implementation of polymorphic aggregates didn't really get the 2008-01-11 18:39:41 +00:00
po Translation updates 2007-11-29 08:50:36 +00:00
port Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
postmaster Restructure the shutdown procedure for the archiver process to allow it to 2008-01-11 00:54:09 +00:00
regex Fix assorted security-grade bugs in the regex engine. All of these problems 2008-01-03 20:47:55 +00:00
rewrite Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
snowball Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
storage Fix CREATE INDEX CONCURRENTLY to not deadlock against an automatic or manual 2008-01-09 21:52:36 +00:00
tcop Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsearch Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
utils vacuum_cost_limit has a minimum value of 1, not zero; update 2008-01-10 02:50:01 +00:00
Makefile Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00