pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedRestrictionClauseSelectivity
3+ messages / 2 participants
[nested] [flat]
* RestrictionClauseSelectivity
@ 1999-12-01 01:35 Frank Bax <fbax@execulink.com>
0 siblings, 0 replies; 3+ messages in thread
From: Frank Bax @ 1999-12-01 01:35 UTC (permalink / raw)
To: pgsql-sql
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 (no need to add data):
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?
Frank Bax
^ permalink raw reply [nested|flat] 3+ messages in thread
* RestrictionClauseSelectivity
@ 1999-12-01 02:45 Frank Bax <fbax@execulink.com>
0 siblings, 1 reply; 3+ messages in thread
From: Frank Bax @ 1999-12-01 02:45 UTC (permalink / raw)
To: pgsql-sql
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?
Frank Bax
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [SQL] RestrictionClauseSelectivity
@ 1999-12-01 03:07 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Frank Bax <fbax@execulink.com>
0 siblings, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 1999-12-01 03:07 UTC (permalink / raw)
To: Frank Bax <fbax@execulink.com>; +Cc: pgsql-sql
> 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~1999-12-01 03:07 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-12-01 01:35 RestrictionClauseSelectivity Frank Bax <fbax@execulink.com>
1999-12-01 02:45 RestrictionClauseSelectivity Frank Bax <fbax@execulink.com>
1999-12-01 03:07 ` Bruce Momjian <pgman@candle.pha.pa.us>
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