Re: SPI dumping core on large palloc - Mailing list pgsql-general

From Tom Lane
Subject Re: SPI dumping core on large palloc
Date
Msg-id 18949.1191854246@sss.pgh.pa.us
Whole thread Raw
In response to SPI dumping core on large palloc  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-general
"Merlin Moncure" <mmoncure@gmail.com> writes:
> Am I doing anything wrong here?

Returning an already-pfree'd hunk of memory.  I gather you are not
testing your code in an enable-cassert build (tut tut), else you'd
not think this worked for small allocations either.  See
http://developer.postgresql.org/pgdocs/postgres/spi-memory.html

            regards, tom lane

pgsql-general by date:

Previous
From: "Merlin Moncure"
Date:
Subject: SPI dumping core on large palloc
Next
From: MargaretGillon@chromalloy.com
Date:
Subject: Re: Database reverse engineering