Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id C534D9FAE4E for ; Thu, 28 Sep 2006 11:55:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 91011-06 for ; Thu, 28 Sep 2006 14:55:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E320F9F9F96 for ; Thu, 28 Sep 2006 11:55:15 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k8SEtBpF025731; Thu, 28 Sep 2006 10:55:11 -0400 (EDT) To: "Jon Earle" cc: pgsql-interfaces@postgresql.org Subject: Re: Extracting client code In-reply-to: <4347.142.46.208.244.1159452491.squirrel@kronos.honk.org> References: <4347.142.46.208.244.1159452491.squirrel@kronos.honk.org> Comments: In-reply-to "Jon Earle" message dated "Thu, 28 Sep 2006 10:08:11 -0400" Date: Thu, 28 Sep 2006 10:55:11 -0400 Message-ID: <25730.1159455311@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200609/34 X-Sequence-Number: 6279 "Jon Earle" writes: > Can I just take the src/interface/libpq dir > contents, parachute them into the same dir as my app, then just compile it > all together (after making the appropriate changes to my own app, of course)? No. At minimum you're going to need the configure script and src/port/ as well. My inclination would just be to ship the unmodified tarball and do unpack tarball cd top-dir configure ... cd src/interfaces/libpq make make install Obviously you could strip large parts of the tarball out, but then you'd have to redo that work every time we update. Also keep in mind the possibility that libpq is already installed on the machine you're on. regards, tom lane