From: Tom Lane <tgl@sss.pgh.pa.us>
To: Helmar Spangenberg <hspangenberg@frey.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5769: Problem with SPI_getvalue
Date: Thu, 25 Nov 2010 11:20:38 -0500
Message-ID: <13535.1290702038@sss.pgh.pa.us> (raw)
In-Reply-To: <201011251145.oAPBjweK020676@wwwmaster.postgresql.org>
References: <201011251145.oAPBjweK020676@wwwmaster.postgresql.org>
"Helmar Spangenberg" <hspangenberg@frey.de> writes:
> Referring to the manual, I can pfree the result returned by SPI_getvalue.
Well, the result is the output of a datatype output function. I think
that's palloc'd by all standard datatypes, but maybe you're working with
a custom datatype that tries to return a constant string?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, hspangenberg@frey.de
Subject: Re: BUG #5769: Problem with SPI_getvalue
In-Reply-To: <13535.1290702038@sss.pgh.pa.us>
References: <201011251145.oAPBjweK020676@wwwmaster.postgresql.org> <13535.1290702038@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox