Re: libpq compatibility policy across versions

"Daniel Verite" <[email protected]> Tue, 01 Oct 2013 20:50:55 +0200
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <465ec8d5-b702-4638-b079-585a17e40758@mm>
	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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces