Re: Anti join confusion - Mailing list pgsql-hackers

From Laurenz Albe
Subject Re: Anti join confusion
Date
Msg-id c1f7717b6dbd80fa3b05c8fc90a2b3969d7f21f2.camel@cybertec.at
Whole thread Raw
In response to Re: Anti join confusion  (Tender Wang <tndrwang@gmail.com>)
List pgsql-hackers
On Wed, 2025-02-26 at 18:08 +0800, Tender Wang wrote:
> Recently,  I found Greenplum implement pull-up NOT IN subquery.
> They have the below comments in their codes:
>
> We normalize NOT subqueries using the following axioms:
>  *
>  * val NOT IN (subq) =>  val <> ALL (subq)

That is true, but I don't see how it leads to an anti-join
without further consideration.  Perhaps you mean something
else by "pull up"...

Yours,
Laurenz Albe



pgsql-hackers by date:

Previous
From: Ilia Evdokimov
Date:
Subject: Re: Sample rate added to pg_stat_statements
Next
From: Bertrand Drouvot
Date:
Subject: Re: per backend WAL statistics