Re: loading libraries on Postmaster startup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: loading libraries on Postmaster startup
Дата
Msg-id 10471.1045112114@sss.pgh.pa.us
обсуждение исходный текст
Ответ на loading libraries on Postmaster startup  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> [ what about autoloading libraries into the postmaster? ]

I can see a couple possible downsides: (a) the library might have some
weird behavior across fork boundaries; (b) the additional memory space
that has to be duplicated into child processes will cost something per
child launch, even if the child never uses it.  But these are only
arguments that it might not *always* be a prudent thing to do, not that
we shouldn't give the DBA the tool to do it if he wants.  So fire away.

(I seem to recall Peter muttering about linking plperl, pltcl, etc
statically into the backend; which would reduce the need for this.
But it would not eliminate it ... and he hasn't done it anyway...)
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: psql source suggestions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Changing the default configuration (was Re: