Re: Plpython bug with int8 - Found, need advice

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bradley McLean <brad(at)bradm(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Plpython bug with int8 - Found, need advice
Date: 2001-10-04 22:27:53
Message-ID: 2449.1002234473@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bradley McLean <brad(at)bradm(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-10-04 22:36:26 Re: Patch for fixing a few memory leaks
Previous Message Tom Lane 2001-10-04 22:08:49 Re: BUG: text(varchar) truncates at 31 bytes