Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrYYL-0008G2-Am for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Jan 2013 18:33:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TrYYK-0003Sj-Eq for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Jan 2013 18:33:04 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrYYJ-0003Sd-Ib for pgsql-bugs@postgresql.org; Sat, 05 Jan 2013 18:33:03 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrYYH-00061t-1E for pgsql-bugs@postgresql.org; Sat, 05 Jan 2013 18:33:02 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r05IX0LQ024492; Sat, 5 Jan 2013 13:33:00 -0500 (EST) From: Tom Lane To: gdurbin@synchr.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7787: ERROR: could not find RelOptInfo for given relids In-reply-to: References: Comments: In-reply-to gdurbin@synchr.com message dated "Fri, 04 Jan 2013 19:31:25 +0000" Date: Sat, 05 Jan 2013 13:32:59 -0500 Message-ID: <24491.1357410779@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 gdurbin@synchr.com writes: > Two queries follow. The first gets the error, the second doesn't the only > difference is the additional expression in the where clause in the inner > join. This is not investigatable without a self-contained test case. The problem query alone is not useful, especially not when it's this complicated. http://www.postgresql.org/docs/9.1/static/bug-reporting.html 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