[postgis-devel] Memory context question

Paul Ramsey pramsey at cleverelephant.ca
Tue Apr 23 16:01:44 PDT 2013


You can also allocate in a separate context explicitly with MemoryContextAlloc() 
P

-- 
Paul Ramsey
http://cleverelephant.ca
http://postgis.net


On Tuesday, April 23, 2013 at 3:59 PM, Mark Cave-Ayland wrote:

> On 23/04/13 17:46, Paul Ramsey wrote:
> 
> > Yes, you have to be in the memory context you want the allocated memory to live in.
> 
> +1 from me. To the best of my knowledge, all of the p*() memory 
> functions will allocate their memory in the current context.
> 
> 
> ATB,
> 
> Mark.
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org (mailto:postgis-devel at lists.osgeo.org)
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel






More information about the postgis-devel mailing list