dynamic loading of .so

Поиск
Список
Период
Сортировка
Искать
От
TJ O'Donnell
Тема
dynamic loading of .so
Дата
Msg-id
43502E83.9020207@acm.org
Список
Дерево обсуждения
dynamic loading of .so TJ O'Donnell <tjo@acm.org>
Re: dynamic loading of .so Douglas McNaught <doug@mcnaught.org>
Re: dynamic loading of .so <cristian@clickdiario.com>
Re: dynamic loading of .so Douglas McNaught <doug@mcnaught.org>
Re: dynamic loading of .so Tom Lane <tgl@sss.pgh.pa.us>
Re: dynamic loading of .so "Cristian Prieto" <cristian@clickdiario.com>
I have begun to use some static variables in my c-language
functions to maintain state (3rd party licensing issues) during
the course of a session (postgres process, spawned by postmaster).
These are declared static outside the scope of any function.
(is global the correct term anymore?)
When I use dynamic loading of my .so,
each session is independent, with its own static variables.
Will the same be true if I were to load the .so once when
the database starts up?  Or will there be just one set of
static variables for all sessions?

TJ
В списке pgsql-general по дате отправления
От: Joshua D. Drake
Дата:
От: CSN
Дата:
Сообщение: Re: Oracle buys Innobase
FAQ