| From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
|---|---|
| To: | Josh Tolley <eggyknap(at)gmail(dot)com> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Problem returning strings with pgsql 8.3.x |
| Date: | 2008-05-13 06:33:01 |
| Message-ID: | 20080513063301.GA19436@svana.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
On Mon, May 12, 2008 at 11:23:17PM -0600, Josh Tolley wrote:
> SPI_push();
> retval =
> InputFunctionCall(&flinfo, lolVarGetString(returnVal, true),
> resultTypeIOParam, -1);
> SPI_pop();
Won't this cause the return value to be allocated inside a new memory
block which gets freeds at the SPI_pop?
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomasz Ostrowski | 2008-05-13 06:40:41 | Re: rounding problems |
| Previous Message | Albe Laurenz *EXTERN* | 2008-05-13 06:19:34 | Re: How to create a function with multiple RefCursor OUT parameters |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Brendan Jurd | 2008-05-13 06:39:55 | Re: psql wrapped format default for backslash-d commands |
| Previous Message | Bryce Nesbitt | 2008-05-13 06:12:55 | Re: psql wrapped format default for backslash-d commands |