Skip site navigation (1) Skip section navigation (2)

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Bug Finder" <bug(at)zedware(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1718: geqo_selection.c:linear()
Date: 2005-06-14 14:23:24
Message-ID: 28342.1118759004@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Bug Finder" <bug(at)zedware(dot)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

In response to

pgsql-bugs by date

Next:From: Brandon KeepersDate: 2005-06-14 17:35:54
Subject: pg_dump silently fails
Previous:From: Kevin GrittnerDate: 2005-06-14 14:20:25
Subject: Re: BUG #1712: JDBC column precision for bigint is 0

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group