Re: Re-thing PG_MODULE_MAGIC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re-thing PG_MODULE_MAGIC
Дата
Msg-id 6980.1150330042@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re-thing PG_MODULE_MAGIC  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Re-thing PG_MODULE_MAGIC  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> I just noticed (the hard way) that in 8.2CVS, the PG_MODULE_MAGIC header is 
> now *required* for all loadable modules.   This includes non-pg modules, 
> such as Solaris' libumem (performance improvement for malloc).

What is libumem and why are you trying to load it as a dynamic module?

> Should we really be requiring PG_MODULE_MAGIC for stuff that wasn't built 
> with PG?

If we don't require it then there's precious little point in having it
at all.  But why don't you link libumem when building the postmaster,
if you want it?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Increasing catcache size
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Re-thing PG_MODULE_MAGIC