Re: BUG #1718: geqo_selection.c:linear()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1718: geqo_selection.c:linear()
Дата
Msg-id 28342.1118759004@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #1718: geqo_selection.c:linear()  ("Bug Finder" <bug@zedware.org>)
Список pgsql-bugs
"Bug Finder" <bug@zedware.org> writes:
> In geqo_selection.c, function linear() may
> return a value equals to pool_size, and cause
> geqo_selection() to visit invalid array member.

Good catch.  I wonder whether roundoff error couldn't lead to trying to
call sqrt() with a value slightly less than zero, too.  Repaired in our
CVS for next releases --- thanks for the report!

            regards, tom lane

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #1712: JDBC column precision for bigint is 0
Следующее
От: Brandon Keepers
Дата:
Сообщение: pg_dump silently fails