Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aLKMe-0003Ak-Jx for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Jan 2016 00:41:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aLKMe-0002Eo-6U for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Jan 2016 00:41:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aLCJj-00069h-1v for pgsql-bugs@postgresql.org; Mon, 18 Jan 2016 16:06:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aLCJf-0003aQ-MU for pgsql-bugs@postgresql.org; Mon, 18 Jan 2016 16:06:06 +0000 MIME-Version: 1.0 Subject: BUG #13875: Error explaining query To: pgsql-bugs@postgresql.org From: travis.smith@iriworldwide.com Date: Mon, 18 Jan 2016 16:05:35 +0000 Message-ID: <20160118160535.2972.70055@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 The following bug has been logged on the website: Bug reference: 13875 Logged by: Travis Smith Email address: travis.smith@iriworldwide.com PostgreSQL version: 9.5.0 Operating system: Linux lnx0409.ch3.prod.i.com 2.6.32-358.el6.x86_64 Description: =# explain select count(1) from (SELECT DISTINCT "IRI_IT_M_2782_7472_O"."ATTR_VALUE", "IRI_IT_M_2782_7472_O"."SORT_ORDER", "IT_DIM_IRI_7472"."M_2796_KEY", "IT_DIM_IRI_7472"."M_2782_KEY" FROM "IT_DIM_IRI_7472", "IRI_IT_M_2782_7472_O" WHERE ("IT_DIM_IRI_7472"."S_848_KEY" = 4527492) AND ("IT_DIM_IRI_7472"."M_2782_KEY" = "IRI_IT_M_2782_7472_O"."AVP_KEY") ORDER BY "IT_DIM_IRI_7472"."M_2796_KEY" ASC, "IRI_IT_M_2782_7472_O"."SORT_ORDER" ASC, "IT_DIM_IRI_7472"."M_2782_KEY" ASC ) t; ERROR: variable not found in subplan target list -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs