Re: shared_preload_libraries support on Win32?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: shared_preload_libraries support on Win32?
Дата
Msg-id 23438.1170126622@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: shared_preload_libraries support on Win32?  (<korryd@enterprisedb.com>)
Список pgsql-hackers
<korryd@enterprisedb.com> writes:
>> I see that Korry's patch doesn't do that, but I'm wondering why exactly.
>> In a Unix environment such libraries *would* be propagated into bgwriter
>> and every other postmaster child; is there a reason for the setup on
>> Windows to be different?  In particular, what about autovacuum, which
>> ISTM should be as close to a standard backend as possible?

> I thought about that too...  does autovacuum ever need to re-index?  If
> so, it seems that it would need access to any index functions (for
> function-based indexes) that might reside in a shared_preload_library.

Any ordinary C-language function is not an issue, because its library
will get autoloaded upon use.  AFAICS what we have to think about here
is instrumentation or debugging plugins that someone might wish to have
running in the postmaster's special children.  Maybe there's no such
animal; I'm not sure.  But in the Unix environment they'd be active in
those processes.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] Missing error message on missing ssl-key-files
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Modifying and solidifying contrib