Re: libpq compatibility policy across versions - Mailing list pgsql-interfaces

From Daniel Verite
Subject Re: libpq compatibility policy across versions
Date
Msg-id 465ec8d5-b702-4638-b079-585a17e40758@mm
Whole thread Raw
In response to Re: libpq compatibility policy across versions  (Sebastien FLAESCH <sf@4js.com>)
Responses Re: libpq compatibility policy across versions
List pgsql-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



pgsql-interfaces by date:

Previous
From: Pavel Golub
Date:
Subject: Re: libpq compatibility policy across versions
Next
From: Pavel Golub
Date:
Subject: Re: libpq compatibility policy across versions