Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TBojc-000423-Na for pgsql-docs@postgresql.org; Wed, 12 Sep 2012 15:20:12 +0000 Received: from mail231.strasbourg.4js.com ([92.103.31.231]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TBoja-0005sX-FS for pgsql-docs@postgresql.org; Wed, 12 Sep 2012 15:20:12 +0000 Received: from [10.0.0.204] (orca.strasbourg.4js.com [10.0.0.204]) (authenticated bits=0) by mail231.strasbourg.4js.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q8CFK9ft026067 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 12 Sep 2012 17:20:09 +0200 Message-ID: <5050A86B.4080601@4js.com> Date: Wed, 12 Sep 2012 17:21:15 +0200 From: Sebastien FLAESCH Organization: Four Js Development Tools User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111110 Lightning/1.0b1 Icedove/3.0.11 MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: Details about libpq cross-version compatibility Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at mail231 X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail231.strasbourg.4js.com [10.10.0.1]); Wed, 12 Sep 2012 17:20:09 +0200 (CEST) X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201209/4 X-Sequence-Number: 7456 Hello, I believe there is some info missing in the page describing libpq programs build: http://www.postgresql.org/docs/9.2/interactive/libpq-build.html I am working with PostgreSQL for several years now (since V7), maintaining a set of "db drivers" for our system, that can be used with the different PostgreSQL versions. We need to build our binaries for different versions of PostgreSQL, today it's from 8.3 to 9.2 ... What is the compatibility rule regarding this? Can I compile / link with a PostgreSQL 9.1 environment and deploy on 9.2 ??? Can I compile / link with a PostgreSQL 8.x environment and deploy on 9.x ??? The problem is that we have to ship several versions of the drivers for all the PostgreSQL versions that are in the support live cycle, today this is from 8.3 to 9.2 ... So far, we followed the version policy as described here: http://www.postgresql.org/support/versioning I think it's ok to follow this rule, but would feel much better if it was clearly stated in the "Building libpq Programs" page. Thanks! Seb