Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: Problem ret...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 9350 of 10406
Post > Topic >>

Re: Problem returning strings with pgsql 8.3.x

by kleptog@[EMAIL PROTECTED] (Martijn van Oosterhout) May 13, 2008 at 08:33 AM

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 12, 2008 at 11:23:17PM -0600, Josh Tolley wrote:
>                                 SPI_push();
>                                         retval =3D
> 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,
--=20
Martijn van Oosterhout   <kleptog@[EMAIL PROTECTED]
>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while=20
> boarding. Thank you for flying nlogn airlines.

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIKTYdIB7bNG8LQkwRAkNiAKCS01AtpcSpPcpzYM0eNEhab+9cZQCghFsz
IT4meIO3Ys6W4bhR2mSGzdM=
=uC00
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--
 




 3 Posts in Topic:
Problem returning strings with pgsql 8.3.x
eggyknap@[EMAIL PROTECTED  2008-05-12 23:23:17 
Re: Problem returning strings with pgsql 8.3.x
kleptog@[EMAIL PROTECTED]  2008-05-13 08:33:01 
Re: Problem returning strings with pgsql 8.3.x
tgl@[EMAIL PROTECTED] (T  2008-05-13 10:01:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 2:26:39 CDT 2008.