Re: [GENERAL] Problems with inequalities on numeric fields in 6.5

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Martin Weinberg <weinberg(at)osprey(dot)phast(dot)umass(dot)edu>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Problems with inequalities on numeric fields in 6.5
Date: 1999-07-07 03:24:12
Message-ID: 199907070324.XAA02358@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-07-07 03:25:46 Re: [GENERAL] backend dies suddenly after a lot of error messages
Previous Message Bruce Momjian 1999-07-07 03:05:18 Re: [GENERAL] How to compile PosttgreSQL on NT