Re: Re-thing PG_MODULE_MAGIC

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re-thing PG_MODULE_MAGIC
Date: 2006-06-15 00:07:22
Message-ID: 6980.1150330042@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Josh Berkus <josh(at)agliodbs(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-06-15 00:07:35 Re: Re-thing PG_MODULE_MAGIC
Previous Message Tom Lane 2006-06-15 00:04:31 Re: Increasing catcache size