On Sun, Mar 6, 2016 at 10:21 PM, <david(at)andl(dot)org> wrote:
> Given that a language handler would be expected to be persistent, and to
> support concurrent (and reentrant) calls within a single database, is there
> a unique context or session identifier available?
>
> Is there a place to store data, to be retrieved later in the same session?
>
> Is there a place to store data (a cache?) that has been retrieved from the
> database for use by concurrent sessions using that database?
>
http://www.postgresql.org/docs/9.5/interactive/plpython-sharing.html
PL/R also has an implementation for this kind of thing.
David J.