X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3CFE5D79CF for ; Fri, 30 Sep 2005 04:20:23 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 72136-01 for ; Fri, 30 Sep 2005 07:20:18 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id 27852D8CBC for ; Fri, 30 Sep 2005 04:20:15 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 72A064074A5; Fri, 30 Sep 2005 08:20:11 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id B22F215F1F; Fri, 30 Sep 2005 08:14:41 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05177-05; Fri, 30 Sep 2005 08:14:39 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id D543915F1C; Fri, 30 Sep 2005 08:14:38 +0100 (BST) Message-ID: <433CE5DE.8090004@archonet.com> Date: Fri, 30 Sep 2005 08:14:38 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lane Van Ingen Cc: pgsql-performance@postgresql.org Subject: Re: Is There Any Way .... References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.058 required=5 tests=[AWL=0.008, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/447 X-Sequence-Number: 14755 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