Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hHOUa-00045t-79 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Apr 2019 08:03:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hHOUY-0004TN-A2 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Apr 2019 08:03:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hHOUX-0004TG-Tt for pgsql-hackers@lists.postgresql.org; Fri, 19 Apr 2019 08:03:26 +0000 Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hHOUV-0005YI-CO for pgsql-hackers@lists.postgresql.org; Fri, 19 Apr 2019 08:03:24 +0000 Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id x3J83KRI025730; Fri, 19 Apr 2019 17:03:20 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 37D3463914F; Fri, 19 Apr 2019 17:03:20 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 2C152637DD1; Fri, 19 Apr 2019 17:03:20 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.61]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 248A5400178; Fri, 19 Apr 2019 17:03:20 +0900 (JST) Subject: Re: Runtime pruning problem References: <001001d4f44b$2a2cca50$7e865ef0$@lab.ntt.co.jp> From: Amit Langote Message-ID: <7d85bc34-3d53-d0ca-8963-7d23debe005e@lab.ntt.co.jp> Date: Fri, 19 Apr 2019 17:03:07 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: Robert Haas Cc: David Rowley , Yuzuko Hosoya , PostgreSQL Hackers X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019/04/19 3:13, Robert Haas wrote: > On Tue, Apr 16, 2019 at 10:49 PM Amit Langote > wrote: >> Maybe, not show them? That may be a bit inconsistent, because the point >> of VERBOSE is to the targetlist among other things, but maybe the users >> wouldn't mind not seeing it on such empty Append nodes. OTOH, they are >> more likely to think seeing a subplan that's clearly prunable as a bug of >> the pruning logic. > > Or maybe we could show them, but the Append could also be flagged in > some way that indicates that its child is only a dummy. > > Everything Pruned: Yes > > Or something. Such an approach has been proposed too, although not with a new property text. Thanks, Amit