Re: Does a call to a language handler provide a context/session, and somewhere to keep session data?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Does a call to a language handler provide a context/session, and somewhere to keep session data?
Дата
Msg-id CAKFQuwYnorKZZOQH52DwQncceXAQvLCSp1QAgNu0YOcmYqVcNg@mail.gmail.com
обсуждение исходный текст
Ответ на Does a call to a language handler provide a context/session, and somewhere to keep session data?  (<david@andl.org>)
Ответы Re: Does a call to a language handler provide a context/session, and somewhere to keep session data?  (<david@andl.org>)
Re: Does a call to a language handler provide a context/session, and somewhere to keep session data?  ("David Bennett" <davidb@pfxcorp.com>)
Список pgsql-general
On Sun, Mar 6, 2016 at 10:21 PM, <david@andl.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?


​PL/R also has an implementation for this kind of thing.

David J.

В списке pgsql-general по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Does a call to a language handler provide a context/session, and somewhere to keep session data?
Следующее
От:
Дата:
Сообщение: Re: "missing chunk number XX for toast value YY in pg_toast ..." after pg_basebackup.