Re: Re-thing PG_MODULE_MAGIC

Josh Berkus <josh@agliodbs.com>

From: Josh Berkus <josh@agliodbs.com>
To: pgsql-hackers@postgresql.org
Date: 2006-06-15T00:07:35Z
Lists: pgsql-hackers
All,

> FATAL:  incompatible library "/usr/lib/libumem.so": missing magic block
> HINT:  Extension libraries are now required to use the  
> PG_MODULE_MAGIC macro.
>
> Should we really be requiring PG_MODULE_MAGIC for stuff that wasn't
> built with PG?   This seems like a way to break a lot of people's
> software.

Never mind, Neil C. just pointed out that we shouldn't be using 
preload_libraries for libumem anyway -- it's sloppy.   However, I do think 
that we should brace ourselves for a slew of bug reports; if the Sun 
testing guys are misusing preload_libraries this way, they won't be the 
only onese.

-- 
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco