Contrib -- PostgreSQL shared variables - Mailing list pgsql-hackers

From pgsql@mohawksoft.com
Subject Contrib -- PostgreSQL shared variables
Date
Msg-id 17168.24.91.171.78.1093468528.squirrel@mail.mohawksoft.com
Whole thread Raw
Responses Re: Contrib -- PostgreSQL shared variables
Re: Contrib -- PostgreSQL shared variables
Re: Contrib -- PostgreSQL shared variables
List pgsql-hackers
This is a first pass on a simple shared memory variable system for
PostgreSQL. I would appriciate anyone interested in this functionality to
rip it apart.

It basically adds this functionality:

SetShared('name', value);
GetSharedInt('name');
SetSharedText('name);
RemovedShared('name');

I also added two extra functions that are sort of a kludge, but could be
very helpful.

AddSharedInt('name', value);
SubSharedInt('name', value);

These add or subtect the 'value' from the variable and return the result.
Attachment

pgsql-hackers by date:

Previous
From: "Hicham G. Elmongui"
Date:
Subject: printing HeapTuple
Next
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling