Re: PL/Python SD dict wiped?

Поиск
Список
Период
Сортировка
От David Gould
Тема Re: PL/Python SD dict wiped?
Дата
Msg-id 20180109022842.108f58be@engels
обсуждение исходный текст
Ответ на Re: PL/Python SD dict wiped?  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Mon, 8 Jan 2018 14:24:42 -0500
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:

> On 1/8/18 11:59, Ken Huffman wrote:
> > I'm fine with per-session initializing of prepared statements, but is
> > there PL/Python mechanism that spans sessions to minimize ConfigParser
> > calls?  
> 
> Nothing built-in.  You would have to use a separate external storage
> mechanism of some kind.  It could be a file, separately managed shared
> memory, or perhaps something like memcached.

Or, given that you have a postgres connection, you could use a table.

-dg

-- 
David Gould                                    daveg@sonic.net
If simplicity worked, the world would be overrun with insects.


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

Предыдущее
От: Rajkumar Raghuwanshi
Дата:
Сообщение: Multi-level hierarchy with parallel append can lead to an extra subplan.
Следующее
От: Amit Khandekar
Дата:
Сообщение: Re: Multi-level hierarchy with parallel append can lead to an extra subplan.