not in(subselect) in 8.4 - Mailing list pgsql-performance

From Grzegorz Jaśkiewicz
Subject not in(subselect) in 8.4
Date
Msg-id 2f4958ff0902200156y7c38f698gcf810032cf8dd8c0@mail.gmail.com
Whole thread Raw
Responses Re: not in(subselect) in 8.4
Re: not in(subselect) in 8.4
List pgsql-performance
Just as a question to Tom and team,
I saw a post a bit ago, about plans for 8.4, and Tom said it is very
likely that 8.4 will rewrite subselects into left joins, is it still
in plans?

I mean query like:
select id from foo where id not in ( select id from bar);
into:

select f.id from foo f left join bar b on f.id=b.id where b.id is null;

the latter is most often much much faster on 8.1-8.3;

thanks.

--
GJ

pgsql-performance by date:

Previous
From: PFC
Date:
Subject: Re: TCP network cost
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: not in(subselect) in 8.4