postgresql/src
Tom Lane cd2a2ce904 Change have_join_order_restriction() so that we do not force a clauseless join
if either of the input relations can legally be joined to any other rels using
join clauses.  This avoids uselessly (and expensively) considering a lot of
really stupid join paths when there is a join restriction with a large
footprint, that is, lots of relations inside its LHS or RHS.  My patch of
15-Feb-2007 had been causing the code to consider joining *every* combination
of rels inside such a group, which is exponentially bad :-(.  With this
behavior, clauseless bushy joins will be done if necessary, but they'll be
put off as long as possible.  Per report from Jakub Ouhrabka.

Backpatch to 8.2.  We might someday want to backpatch to 8.1 as well, but 8.1
does not have the problem for OUTER JOIN nests, only for IN-clauses, so it's
not clear anyone's very likely to hit it in practice; and the current patch
doesn't apply cleanly to 8.1.
2007-10-26 18:10:50 +00:00
..
backend Change have_join_order_restriction() so that we do not force a clauseless join 2007-10-26 18:10:50 +00:00
bin Make initdb's selection of default text search configuration depend 2007-10-25 20:22:53 +00:00
include Disallow scrolling of FOR UPDATE/FOR SHARE cursors, so as to avoid problems 2007-10-24 23:27:08 +00:00
interfaces Avoid having backend-only code compiled into ecpg. Per Zdenek Kotala 2007-10-26 14:17:53 +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 plperl and pltcl to include the name of the current function when 2007-10-05 17:06:11 +00:00
port Add new encoding aliases for Solaris, per Zdenek Kotala. 2007-10-25 12:29:17 +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 Disallow scrolling of FOR UPDATE/FOR SHARE cursors, so as to avoid problems 2007-10-24 23:27:08 +00:00
timezone Avoid including any backend-only stuff in the zic utility program. 2007-10-26 13:30:10 +00:00
tools Rename and slightly redefine the default text search parser's "word" 2007-10-23 20:46:12 +00:00
tutorial
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in Change initdb and CREATE DATABASE to actively reject attempts to create 2007-09-28 22:25:49 +00:00
Makefile.shlib
nls-global.mk
win32.mak