X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 910F752946 for ; Tue, 12 Jul 2005 11:35:34 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82789-02 for ; Tue, 12 Jul 2005 14:35:27 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.197.194]) by svr1.postgresql.org (Postfix) with SMTP id 4515D528A6 for ; Tue, 12 Jul 2005 11:35:29 -0300 (ADT) Received: (qmail 2462 invoked by uid 500); 12 Jul 2005 14:35:52 -0000 Date: Tue, 12 Jul 2005 09:35:52 -0500 From: Bruno Wolff III To: Dario Pudlo Cc: pgsql-performance@postgresql.org Subject: Re: join and query planner Message-ID: <20050712143552.GA32711@wolff.to> Mail-Followup-To: Bruno Wolff III , Dario Pudlo , pgsql-performance@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/120 X-Sequence-Number: 13361 On Wed, Jul 06, 2005 at 18:54:02 -0300, Dario Pudlo wrote: > (first at all, sorry for my english) > Hi. > - Does "left join" restrict the order in which the planner must join > tables? I've read about join, but i'm not sure about left join... The left join operator is not associative so in general the planner doesn't have much flexibility to reorder left (or right) joins.