Re: Plpython bug with int8 - Found, need advice - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Plpython bug with int8 - Found, need advice
Date
Msg-id 2449.1002234473@sss.pgh.pa.us
Whole thread Raw
In response to Re: Plpython bug with int8 - Found, need advice  (Bradley McLean <brad@bradm.net>)
List pgsql-hackers
Bradley McLean <brad@bradm.net> writes:
> 1)  All of the conversion functions that return NULL ( line 1463 as
> an example, page up and down from there) will cause the backend to terminate
> abnormally.  I'm not sure if this is considered a correct behavior,
> or if elog(ERROR, ...) is a better approach.  Comments?

Backend coredump is never a correct behavior.  I'd recommend elog ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG: text(varchar) truncates at 31 bytes
Next
From: Peter Eisentraut
Date:
Subject: Re: Patch for fixing a few memory leaks