X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 9199B30EDB7 for ; Mon, 16 Jun 2003 08:04:34 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 61767-06 for ; Mon, 16 Jun 2003 05:04:24 -0300 (ADT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 9D86930EDBC for ; Mon, 16 Jun 2003 05:04:23 -0300 (ADT) Received: (qmail 25971 invoked by uid 500); 16 Jun 2003 08:07:18 -0000 Date: Mon, 16 Jun 2003 03:07:18 -0500 From: Bruno Wolff III To: "Jim C. Nasby" Cc: pgsql-performance@postgresql.org Subject: Re: left join performance problem Message-ID: <20030616080718.GB25847@wolff.to> Mail-Followup-To: "Jim C. Nasby" , pgsql-performance@postgresql.org References: <3EE74C2D.88390062@t1.unisoftbg.com> <26068.1055386671@sss.pgh.pa.us> <3EE8061B.1FAED8AD@t1.unisoftbg.com> <20030616001028.Q66185@flake.decibel.org> <26714.1055741306@sss.pgh.pa.us> <20030616003629.T66185@flake.decibel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030616003629.T66185@flake.decibel.org> User-Agent: Mutt/1.5.4i X-Archive-Number: 200306/84 X-Sequence-Number: 2168 On Mon, Jun 16, 2003 at 00:36:29 -0500, "Jim C. Nasby" wrote: > On Mon, Jun 16, 2003 at 01:28:26AM -0400, Tom Lane wrote: > > "Jim C. Nasby" writes: > > > Any chance of getting a TODO added that would provide the option of > > > having the optimizer pick join order when you're using the ANSI join > > > syntax? > > > > No ... because it's already DONE. > > DOH, I forgot about the subselect trick. Nevermind. In 7.4 there is a GUC setting to control this. I believe the default is to not constrain the join order any more than is necessary to preserve semantics.