Re: Re: Better backtrace (wasRe: pqReadData() -- backend closed the channel unexpectedly.) - Mailing list pgsql-general

From Tom Lane
Subject Re: Re: Better backtrace (wasRe: pqReadData() -- backend closed the channel unexpectedly.)
Date
Msg-id 2291.996437702@sss.pgh.pa.us
Whole thread Raw
In response to Re: Better backtrace (wasRe: pqReadData() -- backend closed the channel unexpectedly.)  (missive@frontiernet.net (Lee Harr))
List pgsql-general
missive@frontiernet.net (Lee Harr) writes:
> Ok, I got some more information out of the debugger, but not much more.

Ah, I didn't see this message before --- apologies for my previous
waste-of-bandwidth.

> Program terminated with signal 4, Illegal instruction.
> #0  0x812023a in convert_numeric_to_scalar (value=65529, typid=21)
>     at selfuncs.c:923
> 923    selfuncs.c: No such file or directory.

That's strange --- the source line in question is

    return (double) DatumGetInt16(value);

There's no reason I can see that converting int16 to double should fail.
What compiler did you compile with, exactly?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_hba.conf with the "password" auth failed to work sometimes...
Next
From: Tom Lane
Date:
Subject: Re: HELP! BUG? pg_dump mucks up grant/revoke