On Wed, Sep 2, 2009 at 11:29 AM, Christian
Gonzalez<christian(dot)gonzalez(at)sigis(dot)com(dot)ve> wrote:
> The point:
> There is some way to keep objects in [persisten] memory and then refer to
> these from c functions?. In the current version of pgRoute, each
> transaction load the graph in memory (using MemoryContext), this isn't a
> enterprise solution for routing program. Why I Wish is using a c function
> to load the graph in memory [persistent], something like:
Well note that whatever you allocate in TopMemoryContext (or wherever)
is going to be private to a single backend. If it's shared data, you
probably want to put it in a table, I would think...
...Robert