Contrib -- PostgreSQL shared variables

Поиск
Список
Период
Сортировка
От pgsql@mohawksoft.com
Тема Contrib -- PostgreSQL shared variables
Дата
Msg-id 17168.24.91.171.78.1093468528.squirrel@mail.mohawksoft.com
обсуждение исходный текст
Ответы Re: Contrib -- PostgreSQL shared variables  (Rick Gigger <rick@alpinenetworking.com>)
Re: Contrib -- PostgreSQL shared variables  (Thomas Hallgren <thhal@mailblocks.com>)
Re: Contrib -- PostgreSQL shared variables  (Jonathan Gardner <jgardner@jonathangardner.net>)
Список 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.
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Hicham G. Elmongui"
Дата:
Сообщение: printing HeapTuple
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling