From: | pgsql(at)mohawksoft(dot)com |
---|---|
To: | pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Contrib -- PostgreSQL shared variables |
Date: | 2004-08-25 21:15:28 |
Message-ID: | 17168.24.91.171.78.1093468528.squirrel@mail.mohawksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
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 | Content-Type | Size |
---|---|---|
sharedvar.tgz | application/unix-tar | 4.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Rick Gigger | 2004-08-25 21:22:30 | Re: Contrib -- PostgreSQL shared variables |
Previous Message | Bruce Momjian | 2004-08-25 21:10:30 | Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling |
From | Date | Subject | |
---|---|---|---|
Next Message | Rick Gigger | 2004-08-25 21:22:30 | Re: Contrib -- PostgreSQL shared variables |
Previous Message | Tom Lane | 2004-08-25 20:11:26 | Re: add hint |