Re: Re-thing PG_MODULE_MAGIC - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re-thing PG_MODULE_MAGIC
Date
Msg-id 6980.1150330042@sss.pgh.pa.us
Whole thread Raw
In response to Re-thing PG_MODULE_MAGIC  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Re-thing PG_MODULE_MAGIC  (Simon Riggs <simon@2ndquadrant.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Increasing catcache size
Next
From: Josh Berkus
Date:
Subject: Re: Re-thing PG_MODULE_MAGIC