postgresql/src
Tom Lane ff68b256a5 Remove troublesome Asserts in cost_mergejoin().
While logically correct, these two Asserts could fail depending on the
vagaries of floating-point arithmetic.  In particular, on machines with
floating-point registers wider than standard "double" values, it was
possible for the compiler to compare a rounded-to-double value already
stored in memory with an unrounded long double value still in a register.
Given the preceding checks, these assertions aren't adding much, so let's
just get rid of them rather than try to find a compiler-proof fix.
Per report from Pavel Stehule.

Given the lack of previous complaints, and the fact that only developers
would be likely to trip over it, I'm only going to change this in HEAD,
even though the code has been like this for a long time.
2011-12-05 15:50:06 -05:00
..
backend Remove troublesome Asserts in cost_mergejoin(). 2011-12-05 15:50:06 -05:00
bin Add a \setenv command to psql. 2011-12-04 11:43:38 -05:00
include During recovery, if we reach consistent state and still have entries in the 2011-12-02 10:49:54 +02:00
interfaces Applied another patch by Zoltan to fix memory alignement issues in ecpg's sqlda 2011-12-04 04:43:58 +01:00
makefiles Add pg_upgrade test suite 2011-11-27 22:42:32 +02:00
pl plpython: Add SPI cursor support 2011-12-05 19:52:15 +02:00
port Fix join_path_components() to not add a leading slash when joining to an 2011-11-26 09:27:11 -05:00
template
test Fix getTypeIOParam to support type record[]. 2011-12-01 12:44:16 -05:00
timezone Update time zone data files to tzdata release 2011n. 2011-11-30 11:48:05 -05:00
tools Make pgcompinclude/pgrminclude less tied to Bruce's personal machine. 2011-12-01 14:44:32 -05:00
tutorial
.gitignore
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in
Makefile.shlib
nls-global.mk
win32.mak