Re: [PORTS] Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: bram(at)xspace(dot)com
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087
Date: 1999-03-16 04:18:06
Message-ID: 199903160418.XAA29900@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

> --------------------
> All but some spurious select queries with comparisons against
> text fields return a RestrictionClauseSelectivity error.
>
> src/backend/optimizer/util/plancat.c:
> I modified the function "restriction_selectivity"
> to accept values from 0.0 - 3.0, instead 0.0 to 1.0...
>
> This gets rid of the error message, but it probably doesn't
> make for a good engine.
>

This is fixed in 6.5 beta, due out soon. Do a vacuum analyze on the
table, and it will be fixed. The problem is you did an alter table add,
and there was a bug there.

--
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-ports by date

  From Date Subject
Next Message The Hermit Hacker 1999-03-16 05:21:36 Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling
Previous Message Unprivileged user 1999-03-16 04:10:16 Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087