Re: Strange query plan - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Strange query plan
Date
Msg-id 15251.991750872@sss.pgh.pa.us
Whole thread Raw
Responses Re: Strange query plan  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> The best plan I've got eliminating  IN predicate:
> select msg_prt.tid as mid from msg_prt
>  where exists (select idx.tid from idx where msg_prt.tid=idx.tid
>                and idx.did=1 and idx.lid = 1207 and idx.lid=59587 )

Surely that returns zero rows?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: Mirrors not tracking main ftp site?
Next
From: Oleg Bartunov
Date:
Subject: Strange query plan