Andres Freund <andres@2ndquadrant.com> writes:
> On Thursday, August 30, 2012 06:50:13 PM Matthias wrote:
>> According to the debugger num_hist = 1, so it divides by zero.
> Its curious though that the SIGFPE isn't properly cought though. That would
> only lead to a different error, but ...
Not all platforms think an integer divide-by-zero maps to SIGFPE.
regards, tom lane