Skip site navigation (1) Skip section navigation (2)

Re: Strange query plan

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Strange query plan
Date: 2001-06-05 14:21:12
Message-ID: 15251.991750872@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Oleg Bartunov <oleg(at)sai(dot)msu(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Oleg BartunovDate: 2001-06-05 14:33:04
Subject: Re: Strange query plan
Previous:From: Oleg BartunovDate: 2001-06-05 14:07:47
Subject: Strange query plan

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group