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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PORTS] Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087
Дата
Msg-id 199903160418.XAA29900@candle.pha.pa.us
обсуждение исходный текст
Ответ на Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087  (Unprivileged user <nobody>)
Список 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@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

В списке pgsql-ports по дате отправления:

Предыдущее
От: Unprivileged user
Дата:
Сообщение: Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling