Skip site navigation (1) Skip section navigation (2)

Details about libpq cross-version compatibility

From: Sebastien FLAESCH <sf(at)4js(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: Details about libpq cross-version compatibility
Date: 2012-09-12 15:21:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs

I believe there is some info missing in the page describing libpq programs build:

I am working with PostgreSQL for several years now (since V7), maintaining a set
of "db drivers" for our system, that can be used with the different PostgreSQL

We need to build our binaries for different versions of PostgreSQL, today it's
from 8.3 to 9.2 ...

What is the compatibility rule regarding this?

Can I compile / link with a PostgreSQL 9.1 environment and deploy on 9.2 ???

Can I compile / link with a PostgreSQL 8.x environment and deploy on 9.x ???

The problem is that we have to ship several versions of the drivers for all
the PostgreSQL versions that are in the support live cycle, today this is
from 8.3 to 9.2 ...

So far, we followed the version policy as described here:

I think it's ok to follow this rule, but would feel much better if it was
clearly stated in the "Building libpq Programs" page.



pgsql-docs by date

Next:From: Heikki LinnakangasDate: 2012-09-13 07:01:10
Subject: Re: Details about libpq cross-version compatibility
Previous:From: Tom LaneDate: 2012-09-06 03:38:22
Subject: Re: typo in information_schema.sgml

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group