Re: NOT IN and NOT EXIST - Mailing list pgsql-general

From Vik Fearing
Subject Re: NOT IN and NOT EXIST
Date
Msg-id 53B886EE.7030505@dalibo.com
Whole thread Raw
In response to Re: NOT IN and NOT EXIST  (Sameer Kumar <sameer.kumar@ashnik.com>)
Responses Re: NOT IN and NOT EXIST  (Sameer Kumar <sameer.kumar@ashnik.com>)
List pgsql-general
On 07/04/2014 06:12 AM, Sameer Kumar wrote:
> NOT EXISTS translates to HASH ANTI JOIN and NOT IN translates to NOT
> (HASHED) operation.
>
> Given that the columns used in NOT IN clause (for outer as well as
> inner) are NOT NULL, should not it translate a NOT IN plan similar to
> NOT EXISTS plan?

It will, hopefully in 9.5.

https://commitfest.postgresql.org/action/patch_view?id=1487
--
Vik


pgsql-general by date:

Previous
From: David Wall
Date:
Subject: Re: pg_dump slower than pg_restore
Next
From: Ravi Kiran
Date:
Subject: breakpoints in eclipse using postgresql