libpq backwards compatbility

From: Andy Halsall <andyh(at)live(dot)co(dot)uk>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: libpq backwards compatbility
Date: 2016-11-02 14:58:57
Message-ID: DB6PR0901MB10458C86FBD6E456E8F63C8FF5A00@DB6PR0901MB1045.eurprd09.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We have a libpq application written in C++. There are existing running deployments of our application that were compiled against PostgreSQL version 9.3.

We want to move to PostgreSQL version 9.6.

Can we assume that the 9.6 libpq library is backwards compatible with applications compiled against 9.3 headers? I wouldn't expect to have to re-compile our application against 9.6 libpq headers and redeploy because we're not taking advantage of any new features and nothing seems to have been deprecated.

The release notes talk about additions to libpq in section E.2.3.9 "Client Interfaces". I'd expect any un-changed features to be backwards compatible. Limited testing suggests this is so but I can't find a clear statement.

Could somebody please advise?

Thanks

Andy

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Atkins 2016-11-02 17:03:23 Hardware recommendations?
Previous Message Suomela Tero 2016-11-02 12:11:59 Replication (BDR) problem: won't catch up after connection timeout