Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VR52E-0002FH-4u for pgsql-interfaces@arkaria.postgresql.org; Tue, 01 Oct 2013 18:51:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VR52D-00088J-Ki for pgsql-interfaces@arkaria.postgresql.org; Tue, 01 Oct 2013 18:51:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VR52C-00088B-Nf for pgsql-interfaces@postgresql.org; Tue, 01 Oct 2013 18:51:00 +0000 Received: from sd-21892.dedibox.fr ([88.191.123.145]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VR529-0002RS-Ks for pgsql-interfaces@postgresql.org; Tue, 01 Oct 2013 18:51:00 +0000 Received: by sd-21892.dedibox.fr (Postfix, from userid 1001) id 936F23FA007; Tue, 1 Oct 2013 20:50:56 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Subject: Re: libpq compatibility policy across versions From: "Daniel Verite" To: pgsql-interfaces@postgresql.org In-Reply-To: <524AC850.7000109@4js.com> Date: Tue, 01 Oct 2013 20:50:55 +0200 Message-ID: <465ec8d5-b702-4638-b079-585a17e40758@mm> X-Mailer: Manitou v1.3.1 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-interfaces Precedence: bulk Sender: pgsql-interfaces-owner@postgresql.org Sebastien FLAESCH wrote: > I am asking how I must compile my source code and how to link, to build > my binary, to be sure that it's compatible with PostgreSQL 8.3, and > any in fact any existing PostgreSQL versions. As an example, if your binary calls PQescapeLiteral() and your end user has libpq.so.5.1 which ships with PostgreSQL 8.3, then the dynamic link will fail because this version of libpq lacks this function. Not sure if that disqualifies it as backward compatible. It depends on your interpretation. Best regards, -- Daniel PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org -- Sent via pgsql-interfaces mailing list (pgsql-interfaces@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-interfaces