Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id AC1C42E36AA for ; Thu, 24 Jan 2008 04:59:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 78141-01-6 for ; Thu, 24 Jan 2008 04:59:50 -0400 (AST) Received: from outmail137079.authsmtp.co.uk (outmail137079.authsmtp.co.uk [62.13.137.79]) by postgresql.org (Postfix) with ESMTP id F332B2E3407 for ; Thu, 24 Jan 2008 04:58:46 -0400 (AST) Received: from outmail128177.authsmtp.com (outmail128177.authsmtp.com [62.13.128.177]) by punt4.authsmtp.com (8.14.1/8.14.1/Kp) with ESMTP id m0O8vt1c095744; Thu, 24 Jan 2008 08:57:55 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 m0O8wdk1031197; Thu, 24 Jan 2008 08:58:40 GMT Subject: Re: Magic Blocks From: Simon Riggs To: Tom Lane Cc: pgsql-docs@postgresql.org In-Reply-To: <28284.1201134484@sss.pgh.pa.us> References: <1201128199.4257.80.camel@ebony.site> <28284.1201134484@sss.pgh.pa.us> Content-Type: text/plain Date: Thu, 24 Jan 2008 08:59:22 +0000 Message-Id: <1201165162.4257.114.camel@ebony.site> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Server-Quench: 8edcacea-ca5a-11dc-9554-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFagFbZ1hf HGQLW1xEUFV7XGt/ bwofZQBDYEtPQQZr TkxLXVBXCwUmXBx+ DllKCRhydARHcXk+ ZEZqVz5TCRApJBUo E1MHRGhXeGZhPDMC WUVdcx5UcAJLdhoR aVd4ByJDAzANdhEU OCQICngUNDpeI2x/ RgYGLkl6 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-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/30 X-Sequence-Number: 4759 On Wed, 2008-01-23 at 19:28 -0500, Tom Lane wrote: > Simon Riggs writes: > > While compiling with PGXS, the OBJS line said > > OBJS = modulename.so > > > 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". > > Are we really in the business of teaching C programmers the difference > between object files and shared libraries? It's a stupid mistake, but aren't most bugs, in hindsight? That's no reason to leave it undocumented. -- Simon Riggs 2ndQuadrant http://www.2ndQuadrant.com