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

Re: postgresql bug?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: uwcssa <uwcssa(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: postgresql bug?
Date: 2006-02-05 05:19:16
Message-ID: 8000.1139116756@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
uwcssa <uwcssa(at)gmail(dot)com> writes:
> select count(*) from T1, T2 where T1.b=3DT2.c and  (T1.a>10 and T1.a<20) or=
>  (
> T1.a>90 and T1.a<100)

> the selectivity estimate on T1 is always 1.0     the reason is the
> re-l->baserestrictinfo is NULL for the second query in
> set_baserel_size_estimates().

Sure you're not looking at T2?

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2006-02-05 12:14:38
Subject: Re: Postgres 8.1.x and MIT Kerberos 5
Previous:From: uwcssaDate: 2006-02-05 05:06:55
Subject: postgresql bug?

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