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 Fix PGXS conventions so that extensions can be built against Postgres 2007-06-26 22:05:04 +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
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 Change initdb and CREATE DATABASE to actively reject attempts to create 2007-09-28 22:25:49 +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
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