Re: Why does not subquery pruning conditions inherit to parent query?

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: "Kato, Sho" <kato-sho(at)jp(dot)fujitsu(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Why does not subquery pruning conditions inherit to parent query?
Date: 2019-05-31 12:32:44
Message-ID: CAKJS1f_5gH1kWOKDyDGv-msMyfLjXibtjb6MfnERwh26aTONNw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 31 May 2019 at 03:18, Kato, Sho <kato-sho(at)jp(dot)fujitsu(dot)com> wrote:
> Is it possible to improve a subquery quals to pull up into outer query?

Sure, it's possible, but it would require writing code. When it can
and cannot/should not be done would need to be determined.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-05-31 13:56:45 Re: cpluspluscheck vs vpath
Previous Message David Rowley 2019-05-31 12:14:44 Re: New committer: David Rowley