postgresql/src/backend
Tom Lane 8057b7554b Protect GIST logic that assumes penalty values can't be negative.
Apparently sane-looking penalty code might return small negative values,
for example because of roundoff error.  This will confuse places like
gistchoose().  Prevent problems by clamping negative penalty values to
zero.  (Just to be really sure, I also made it force NaNs to zero.)
Back-patch to all supported branches.

Alexander Korotkov
2011-05-31 17:54:01 -04:00
..
access Protect GIST logic that assumes penalty values can't be negative. 2011-05-31 17:54:01 -04:00
bootstrap Avoid changing an index's indcheckxmin horizon during REINDEX. 2011-04-19 18:51:08 -04:00
catalog Fix bugs in indexing of in-doubt HOT-updated tuples. 2011-04-20 20:34:22 -04:00
commands Fix VACUUM so that it always updates pg_class.reltuples/relpages. 2011-05-30 17:07:19 -04:00
executor Install defenses against overflow in BuildTupleHashTable(). 2011-05-23 12:52:55 -04:00
foreign Always pass catalog id to the options validator function specified in 2009-12-23 12:24:16 +00:00
lib Update copyright for 2009. 2009-01-01 17:24:05 +00:00
libpq Fix portability bugs in use of credentials control messages for peer auth. 2011-05-30 19:16:17 -04:00
main Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodes Add a stack overflow check to copyObject(). 2010-12-06 22:55:56 -05:00
optimizer Fix pull_up_sublinks' failure to handle nested pull-up opportunities. 2011-05-02 15:56:47 -04:00
parser Behave correctly if INSERT ... VALUES is decorated with additional clauses. 2010-10-02 20:02:41 -04:00
po Translation updates 2011-04-14 23:30:28 +03:00
port Modernize dlopen interface code for FreeBSD and OpenBSD. 2011-04-07 15:14:51 -04:00
postmaster Fix VACUUM so that it always updates pg_class.reltuples/relpages. 2011-05-30 17:07:19 -04:00
regex Change regexp engine's ccondissect/crevdissect routines to perform DFA 2010-02-01 02:45:35 +00:00
rewrite Make FOR UPDATE/SHARE in the primary query not propagate into WITH queries; 2009-10-27 17:11:30 +00:00
snowball Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
storage Don't throw a warning if vacuum sees PD_ALL_VISIBLE flag set on a page that 2011-03-08 20:30:09 +02:00
tcop On IA64 architecture, we check the depth of the register stack in addition 2011-04-13 11:53:06 +03:00
tsearch Fix tsmatchsel() to account properly for null rows. 2011-02-17 19:01:01 -05:00
utils Fix null-dereference crash in parse_xml_decl(). 2011-05-28 12:36:35 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
common.mk Code coverage testing with gcov. Documentation is in the regression test 2008-09-05 12:11:18 +00:00
Makefile Well, the systemtap guys moved the goalposts again: with the latest version, 2010-01-20 23:12:15 +00:00
nls.mk Translation updates for 8.4.5 2010-09-30 23:31:19 +03:00