Re: PL/Python SD dict wiped?

From: David Gould <daveg(at)sonic(dot)net>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Ken Huffman <KHuffman(at)westell(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/Python SD dict wiped?
Date: 2018-01-09 10:28:42
Message-ID: 20180109022842.108f58be@engels
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 8 Jan 2018 14:24:42 -0500
Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)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(at)sonic(dot)net
If simplicity worked, the world would be overrun with insects.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Khandekar 2018-01-09 10:41:54 Re: Multi-level hierarchy with parallel append can lead to an extra subplan.
Previous Message Rajkumar Raghuwanshi 2018-01-09 10:09:03 Multi-level hierarchy with parallel append can lead to an extra subplan.