Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCr4X-0001Bf-S5 for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jun 2016 16:20:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bCr4X-0006rw-EX for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jun 2016 16:20:13 +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_2) (envelope-from ) id 1bCr3B-0005JA-T4 for pgsql-hackers@postgresql.org; Tue, 14 Jun 2016 16:18:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bCr38-0008RC-Kg for pgsql-hackers@postgresql.org; Tue, 14 Jun 2016 16:18:49 +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 u5EGIg4X009514; Tue, 14 Jun 2016 12:18:42 -0400 From: Tom Lane To: Amit Kapila cc: Amit Kapila , Robert Haas , David Rowley , Thomas Munro , Pg Hackers Subject: Re: ERROR: ORDER/GROUP BY expression not found in targetlist In-reply-to: References: <15695.1465827695@sss.pgh.pa.us> <17170.1465830165@sss.pgh.pa.us> <20756.1465834072@sss.pgh.pa.us> Comments: In-reply-to Amit Kapila message dated "Tue, 14 Jun 2016 09:14:33 +0530" Date: Tue, 14 Jun 2016 12:18:42 -0400 Message-ID: <9513.1465921122@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Amit Kapila writes: > On Mon, Jun 13, 2016 at 9:37 PM, Tom Lane wrote: >> ... I got a core dump in the window.sql test: >> which I think may be another manifestation of the failure-to-apply-proper- >> pathtarget issue we're looking at in this thread. Or maybe it's just >> an unjustified assumption in make_partialgroup_input_target that the >> input path must always have some sortgrouprefs assigned. > I don't see this problem after your recent commit > - 89d53515e53ea080029894939118365b647489b3. Are you still getting it? No. I am suspicious that there's still a bug there, ie we're looking at the wrong pathtarget; but the regression test doesn't actually crash. That might only be because we don't choose the parallelized path. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers