Re: Re-thing PG_MODULE_MAGIC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re-thing PG_MODULE_MAGIC
Дата
Msg-id 16640.1150467803@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re-thing PG_MODULE_MAGIC  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> However, thinking about it, what they're doing can't possibly work. To
> override malloc/free, you need to load the library *before* the C
> library. Having the postmaster do it after startup is way too late.

Yeah, I was wondering about that too.  At the very least you'd expect
some odd behaviors with memory malloc'd before the load vs memory
malloc'd after.  Much more likely, though, it just fails to do anything
at all.
        regards, tom lane


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Re-thing PG_MODULE_MAGIC
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: ident auth vs. encrypting ident daemons