Re: [HACKERS] Contrib -- PostgreSQL shared variables

Поиск
Список
Период
Сортировка
От Rick Gigger
Тема Re: [HACKERS] Contrib -- PostgreSQL shared variables
Дата
Msg-id 412D0316.7060600@alpinenetworking.com
обсуждение исходный текст
Ответ на Contrib -- PostgreSQL shared variables  (pgsql@mohawksoft.com)
Ответы Re: [HACKERS] Contrib -- PostgreSQL shared variables  (pgsql@mohawksoft.com)
Список pgsql-patches
LockShared('name');

pgsql@mohawksoft.com wrote:
> 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.
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match

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

Предыдущее
От: pgsql@mohawksoft.com
Дата:
Сообщение: Contrib -- PostgreSQL shared variables
Следующее
От: "Ed L."
Дата:
Сообщение: log_line_prefix additions