Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C24C62E320E for ; Wed, 23 Jan 2008 19:18:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 12734-02-9 for ; Wed, 23 Jan 2008 19:18:04 -0400 (AST) Received: from outmail136071.authsmtp.com (outmail136071.authsmtp.com [62.13.136.71]) by postgresql.org (Postfix) with ESMTP id 793922E400D for ; Wed, 23 Jan 2008 18:42:38 -0400 (AST) Received: from outmail128183.authsmtp.com (outmail128183.authsmtp.com [62.13.128.183]) by punt2.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id m0NMgb0v057997 for ; Wed, 23 Jan 2008 22:42:37 GMT Received: from [192.168.0.3] (85-211-31-42.dyn.gotadsl.co.uk [85.211.31.42]) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id m0NMgaHR050816 for ; Wed, 23 Jan 2008 22:42:36 GMT Subject: Magic Blocks From: Simon Riggs To: pgsql-docs@postgresql.org Content-Type: text/plain Date: Wed, 23 Jan 2008 22:43:19 +0000 Message-Id: <1201128199.4257.80.camel@ebony.site> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Server-Quench: 7ec5fb61-ca04-11dc-9554-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MOFUSTAAU PkFRNXJLN0YASktU QCdXRQsWBxNzWnwP OlRObwVdalpMXQ9u UkJKRBxaERtqAB0f BR8AVhttdQBZeDAt ZTgfCSEjPkR/dU58 RABdEGxIYjIzbTZN VkFFJFJUdB5Lf0sW d1l6UXcQYWUGZ3Jl E1RsYDs4KxBWJyVe CisJKlkRWi5n X-Authentic-SMTP: 61633235383639.squirrel.dmpriest.net.uk:787/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/28 X-Sequence-Number: 4757 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