Re: [GENERAL] Problems with inequalities on numeric fields in 6.5 - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] Problems with inequalities on numeric fields in 6.5
Date
Msg-id 199907070324.XAA02358@candle.pha.pa.us
Whole thread Raw
In response to Problems with inequalities on numeric fields in 6.5  (Martin Weinberg <weinberg@osprey.phast.umass.edu>)
Responses Re: [GENERAL] Problems with inequalities on numeric fields in 6.5
List pgsql-general
> Not forcing float4 conversion does much better, e.g.
>
>    select count(*) from mydata where x>3.4 and x<3.5;
>

OK, let me ask.  Vacuum analyze.  What does pg_statistics show for
min/max values?  What does EXPLAIN show?



--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] How to compile PosttgreSQL on NT
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] backend dies suddenly after a lot of error messages