[postgis-devel] How to create a backend cache instead of query cache?
woodbri at swoodbridge.com
Thu Apr 25 09:38:23 PDT 2013
On 4/25/2013 12:32 PM, Paul Ramsey wrote:
> I did some research a while ago on things living longer than a
> statement, but didn't find any obvious "good" solution. Just avoid
> the global area, obviously. If you read through the pgsql memory
> context code you'll find a few global variables that link to various
> contexts at different levels.
OK, If I have some free time, I will look into this more. A post to the
postgresql list might also be helpful me find some ideas.
For the time being, I am happy to have this code restructured along the
lines you proposed at the code sprint. This also eliminated some bad
things that I was doing in the previous code.
More information about the postgis-devel