Re: init_htab causes SIGFPE (or worse) due to miscalculation for large nbuckets - Mailing list pgsql-bugs

From Tom Lane
Subject Re: init_htab causes SIGFPE (or worse) due to miscalculation for large nbuckets
Date
Msg-id 26333.1355281886@sss.pgh.pa.us
Whole thread Raw
In response to Re: init_htab causes SIGFPE (or worse) due to miscalculation for large nbuckets  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-bugs
Jeff Davis <pgsql@j-davis.com> writes:
> On Mon, 2012-12-10 at 21:19 -0500, Tom Lane wrote:
>> I hadn't gone any further than to code and test the functions I listed.
>> If you are working on a complete patch, please press on.

> Attached. This fixes my test case[1] and uses the functions that you
> wrote. I made them static because I couldn't think of a reason for
> something outside to call them.

Applied with minor adjustments.

            regards, tom lane

pgsql-bugs by date:

Previous
From: m.sakrejda@gmail.com
Date:
Subject: BUG #7752: FATAL btree error on PITR
Next
From: Sandeep Thakkar
Date:
Subject: Re: BUG #7751: libintl.h missing in the include folder