Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCKdu-0000CA-1x for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Jun 2016 05:42:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bCKdt-0003L6-ET for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Jun 2016 05:42:33 +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 1bCKds-0003Kz-TP for pgsql-hackers@postgresql.org; Mon, 13 Jun 2016 05:42:32 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCKdn-0004oW-HZ for pgsql-hackers@postgresql.org; Mon, 13 Jun 2016 05:42:32 +0000 Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id u5D5gOlA022484 for ; Mon, 13 Jun 2016 14:42:24 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id AB7655F623 for ; Mon, 13 Jun 2016 14:42:24 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 9E0D45F611 for ; Mon, 13 Jun 2016 14:42:24 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.68]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTP id 8D29E40027D for ; Mon, 13 Jun 2016 14:42:24 +0900 (JST) Message-ID: <575E47B9.6080209@lab.ntt.co.jp> Date: Mon, 13 Jun 2016 14:42:17 +0900 From: Tatsuro Yamada User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 Subject: Re: ERROR: ORDER/GROUP BY expression not found in targetlist References: <575E339E.1000502@lab.ntt.co.jp> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: pgsql-hackers@postgresql.org X-TM-AS-MML: disable X-Pg-Spam-Score: -4.0 (----) 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 Hi, >>> Subject: Re: [HACKERS] ORDER/GROUP BY expression not found in targetlist >>> Date: Thu, 09 Jun 2016 12:08:01 +0900 > > Right, I saw that thread which involved the same error message: > > https://www.postgresql.org/message-id/flat/20160526021235.w4nq7k3gnheg7vit%40alap3.anarazel.de#20160526021235.w4nq7k3gnheg7vit@alap3.anarazel.de > > ... but that seems to be a different problem than the one you and I > have seen, it involved repeated references to columns in the tlist. > It was fixed with this commit: > > commit aeb9ae6457865c8949641d71a9523374d843a418 > Author: Tom Lane > Date: Thu May 26 14:52:24 2016 -0400 > > Disable physical tlist if any Var would need multiple sortgroupref labels. I use this version:f721e94 to run tpc-h on last week. This patch is commited at Jun 8. If it fixed, I didn't get the error. >PG96beta1 > commit: f721e94b5f360391fc3ffe183bf697a0441e9184 ----- commit f721e94b5f360391fc3ffe183bf697a0441e9184 Author: Robert Haas Date: Wed Jun 8 08:37:06 2016 -0400 Fix typo. Amit Langote ----- I got mistake to write an e-mail to -hackers on last week. :-< I should have written this. The bug has not fixed by Tom Lane's patch: commit aeb9ae6. Because I got the same error using tpc-h. >> Today, I try it again by changing max_parallel_workers_per_gather parameter. >> The result of Q1 is bellow. Is this bug in the Open items on wiki? > > I don't see it on the Open Issues list. I checked the list, but the bug is not listed. https://wiki.postgresql.org/wiki/PostgreSQL_9.6_Open_Items Regards, Tatsuro Yamada NTT OSS Center -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers