pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
To: Robert Haas <robertmhaas@gmail.com>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: Yuzuko Hosoya <hosoya.yuzuko@lab.ntt.co.jp>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Runtime pruning problem
Date: Fri, 19 Apr 2019 17:03:07 +0900
Message-ID: <7d85bc34-3d53-d0ca-8963-7d23debe005e@lab.ntt.co.jp> (raw)
In-Reply-To: <CA+TgmoZD3=Khv1BrLPYDNc3btq4=go-RyXzhETBHw4gZLDjiRQ@mail.gmail.com>
References: <001001d4f44b$2a2cca50$7e865ef0$@lab.ntt.co.jp>
	<CAKJS1f_4b9J7K7DSuZMkyga67OetfyAWz1xzYJd25HSf9-cijQ@mail.gmail.com>
	<b50238ec-e402-6fcb-7f3a-b74418471b29@lab.ntt.co.jp>
	<CAKJS1f98o-6-SWWzcfiJO6JAQFu2DnYWBzFVB0x2+u5ub=ASEA@mail.gmail.com>
	<c4acce90-8265-c91f-065f-e4507ad054bd@lab.ntt.co.jp>
	<CA+TgmoZD3=Khv1BrLPYDNc3btq4=go-RyXzhETBHw4gZLDjiRQ@mail.gmail.com>

On 2019/04/19 3:13, Robert Haas wrote:
> On Tue, Apr 16, 2019 at 10:49 PM Amit Langote
> <Langote_Amit_f8@lab.ntt.co.jp> 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






view thread (38+ messages)  latest in thread

Message-ID: <7d85bc34-3d53-d0ca-8963-7d23debe005e@lab.ntt.co.jp>
Permalink:  ../7d85bc34-3d53-d0ca-8963-7d23debe005e@lab.ntt.co.jp/
Also on:    postgresql.org/message-id/7d85bc34-3d53-d0ca-8963-7d23debe005e@lab.ntt.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: Langote_Amit_f8@lab.ntt.co.jp, robertmhaas@gmail.com, david.rowley@2ndquadrant.com, hosoya.yuzuko@lab.ntt.co.jp, pgsql-hackers@lists.postgresql.org
  Subject: Re: Runtime pruning problem
  In-Reply-To: <7d85bc34-3d53-d0ca-8963-7d23debe005e@lab.ntt.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox