Re: PLTCL return_null crash... - Mailing list pgsql-general

From Tom Lane
Subject Re: PLTCL return_null crash...
Date
Msg-id 26107.1034023236@sss.pgh.pa.us
Whole thread Raw
In response to PLTCL return_null crash...  ("Ian Harding" <ianh@tpchd.org>)
Responses Re: PLTCL return_null crash...  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
List pgsql-general
"Ian Harding" <ianh@tpchd.org> writes:
> test=# create function crash () returns int as '
> test'# return_null
> test'# ' language 'pltcl';
> CREATE
> test=# select crash();
> ERROR:  AllocSetFree: cannot find block containing chunk 0xbfbfcc48
> test=#

Hmm.  WorksForMe (on both 7.2.3 and CVS tip) ...

regression=# select crash();
 crash
-------

(1 row)

regression=# select crash() is null;
 ?column?
----------
 t
(1 row)

regression=#


A stack backtrace from the elog() call might prove enlightening.

            regards, tom lane

pgsql-general by date:

Previous
From: Justin Clift
Date:
Subject: Re: firstest doubts...
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Postgres for Windows