agora inbox for pgsql-interfaces@postgresql.org  
help / color / mirror / Atom feed
From: Daniel Verite <daniel@manitou-mail.org>
To: pgsql-interfaces@postgresql.org
Subject: Re: libpq compatibility policy across versions
Date: Tue, 01 Oct 2013 20:50:55 +0200
Message-ID: <465ec8d5-b702-4638-b079-585a17e40758@mm> (raw)
In-Reply-To: <524AC850.7000109@4js.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-interfaces>

	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



view thread (8+ messages)  latest in thread

Message-ID: <465ec8d5-b702-4638-b079-585a17e40758@mm>
Permalink:  ../465ec8d5-b702-4638-b079-585a17e40758@mm/
Also on:    postgresql.org/message-id/465ec8d5-b702-4638-b079-585a17e40758@mm

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: daniel@manitou-mail.org
  Subject: Re: libpq compatibility policy across versions
  In-Reply-To: <465ec8d5-b702-4638-b079-585a17e40758@mm>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox