pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Lane Van Ingen <lvaningen@esncc.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Is There Any Way ....
Date: Fri, 30 Sep 2005 08:14:38 +0100
Message-ID: <433CE5DE.8090004@archonet.com> (raw)
In-Reply-To: <EKEMKEFLOMKDDLIALABIMECFCDAA.lvaningen@esncc.com>
References: <EKEMKEFLOMKDDLIALABIMECFCDAA.lvaningen@esncc.com>

Lane Van Ingen wrote:
>   (2) Set up user variables in memory that are persistent across all
> sessions, for
>       as long as the database is up and running ?

You could probably write "C" functions (or possibly Perl) to store data 
in shared memory. Of course you'd have to deal with concurrency issues 
yourself.

Storing the values in a table and having cached access to them during 
the session is probably your best bet.

--
   Richard Huxton
   Archonet Ltd



view thread (26+ messages)  latest in thread

Message-ID: <433CE5DE.8090004@archonet.com>
Permalink:  ../433CE5DE.8090004@archonet.com/
Also on:    postgresql.org/message-id/433CE5DE.8090004@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, lvaningen@esncc.com
  Subject: Re: Is There Any Way ....
  In-Reply-To: <433CE5DE.8090004@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox