Re: Correlated IN/Any Subquery Transformation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Li, Zheng" <zhelli(at)amazon(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Correlated IN/Any Subquery Transformation
Date: 2020-03-20 16:42:42
Message-ID: 16276.1584722562@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Li, Zheng" <zhelli(at)amazon(dot)com> writes:
> This patch enables correlated IN/Any subquery to be transformed to join, the transformation is allowed only when the correlated Var is in the where clause of the subquery. It covers the most common correlated cases and follows the same criteria that is followed by the correlated Exists transformation code.

It's too late to include this in v13, but please add the patch to the
next commitfest so that we remember to consider it for v14.

https://commitfest.postgresql.org

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2020-03-20 17:51:44 Re: Add A Glossary
Previous Message Tom Lane 2020-03-20 16:36:07 Re: where EXEC_BACKEND is defined