From: Simon Riggs <simon@2ndquadrant.com>
To: pgsql-docs@postgresql.org
Subject: Magic Blocks
Date: Wed, 23 Jan 2008 22:43:19 +0000
Message-ID: <1201128199.4257.80.camel@ebony.site> (raw)
I've just solved a problem with referencing magic blocks in plugins.
I can't see anything documented on this and I suspect others have seen
this before...
http://archives.postgresql.org/pgsql-general/2007-04/msg00908.php
While compiling with PGXS, the OBJS line said
OBJS = modulename.so
which then gave the error
ERROR: .... missing magic block
By changing the OBJS line to this
OBJS = modulename.o
then no error was received and it all works.
TFM just says "list objects files in OBJS".
It's a minor docs issue, but if y'all agree then we should add a few
more lines of wisdom in this area.
--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: simon@2ndquadrant.com
Subject: Re: Magic Blocks
In-Reply-To: <1201128199.4257.80.camel@ebony.site>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox