From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Frank Bax <fbax@execulink.com>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] RestrictionClauseSelectivity
Date: Tue, 30 Nov 1999 22:07:28 -0500 (EST)
Message-ID: <199912010307.WAA00899@candle.pha.pa.us> (raw)
In-Reply-To: <3.0.6.32.19991130214502.0098deb0@execulink.com>
> DROP TABLE Players;
> CREATE TABLE Players ( ReqWhen DATETIME );
> ALTER TABLE Players ADD ReqCode TEXT;
> ALTER TABLE Players ADD ReqName TEXT;
> ALTER TABLE Players ADD ReqMail TEXT;
> ALTER TABLE Players ADD ReqPlay TEXT;
> ALTER TABLE Players ADD ReqFeed TEXT;
> ALTER TABLE Players ADD ReqPend CHAR;
> SELECT * FROM Players WHERE ReqCode = 'Test';
>
> Always produces the following error message:
>
> ERROR: RestrictionClauseSelectivity: bad value 2.451276
>
> I'm on 6.4.2 I think. Whatever was on RedHat 6.0 CD.
> How do I confirm version without the install files?
Known bug. Upgrade to 6.5.3, or VACUUM ANALYZE the table.
--
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, fbax@execulink.com
Subject: Re: [SQL] RestrictionClauseSelectivity
In-Reply-To: <199912010307.WAA00899@candle.pha.pa.us>
References: <3.0.6.32.19991130214502.0098deb0@execulink.com> <199912010307.WAA00899@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox