postgresql/src
Tom Lane df62977d00 Fix an old error in clause_selectivity: the default selectivity estimate
for unhandled clause types ought to be 0.5, not 1.0.  I fear I introduced
this silliness due to misreading the intent of the very-poorly-structured
code that was there when we inherited the file from Berkeley.  The lack
of sanity in this behavior was exposed by an example from Sim Zacks.
(Arguably this is a bug fix and should be back-patched, but I'm a bit
hesitant to introduce a possible planner behavior change in the back
branches; it might detune queries that worked acceptably in the past.)

While at it, make estimation for DistinctExpr do something marginally
realistic, rather than just defaulting.
2008-01-11 17:00:45 +00:00
..
backend Fix an old error in clause_selectivity: the default selectivity estimate 2008-01-11 17:00:45 +00:00
bin Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
include Fix a conceptual error in my patch of 2007-10-26 that avoided considering 2008-01-11 04:02:18 +00:00
interfaces Fixed lexer to correctly parse C quotes. 2008-01-11 15:19:16 +00:00
makefiles Teach pgxs.mk and Install.pm how to install files from a contrib module 2007-10-16 16:00:00 +00:00
pl Fix plpython's overoptimistic caching of information about the rowtype of 2008-01-02 03:10:27 +00:00
port Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
template Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2 2007-09-26 00:32:46 +00:00
test Fix some planner issues found while investigating Kevin Grittner's report 2008-01-09 20:42:29 +00:00
timezone Insert ARST into the list of known timezone abbreviations. 2008-01-02 21:42:00 +00:00
tools Mention use of src/tools/major_release_split for creating back-branch 2008-01-07 22:05:27 +00:00
tutorial Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
Makefile.global.in I find that an out-of-the-box installation of OSSP uuid 1.6.0 installs 2007-11-13 00:13:19 +00:00
Makefile.shlib Change $(CC) to $(COMPILER) on Solaris gcc so -m64 is passed into the 2007-02-20 22:45:57 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
nls-global.mk When merging PO files, take into consideration translations in other PO 2006-04-05 13:40:15 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00