> --------------------
> 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@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