Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VhREt-000083-6K for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Nov 2013 21:47:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VhREs-00061n-KN for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Nov 2013 21:47:42 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VhREr-0005zx-Hk for pgsql-bugs@postgresql.org; Fri, 15 Nov 2013 21:47:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VhREp-0007fZ-KY for pgsql-bugs@postgresql.org; Fri, 15 Nov 2013 21:47:40 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id rAFLlchE025580; Fri, 15 Nov 2013 16:47:38 -0500 From: Tom Lane To: klaussfreire@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8591: Erroneous results, planner pushing where into left join right side In-reply-to: References: Comments: In-reply-to klaussfreire@gmail.com message dated "Wed, 13 Nov 2013 23:41:37 +0000" Date: Fri, 15 Nov 2013 16:47:38 -0500 Message-ID: <25579.1384552058@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org klaussfreire@gmail.com writes: > So, I've been checking whether my SQL was wrong, and I really can't see the > fault in it. It seems to be a planner error, generating erroneous results. I've committed a patch for this. Thanks for the report! regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs