Re: Details about libpq cross-version compatibility - Mailing list pgsql-docs

From Tom Lane
Subject Re: Details about libpq cross-version compatibility
Date
Msg-id 23464.1347575107@sss.pgh.pa.us
Whole thread Raw
In response to Re: Details about libpq cross-version compatibility  (Sebastien FLAESCH <sf@4js.com>)
Responses Re: Details about libpq cross-version compatibility  (Sebastien FLAESCH <sf@4js.com>)
List pgsql-docs
Sebastien FLAESCH <sf@4js.com> writes:
> If a future major version (for ex 9.3) implements a new strategic feature
> that makes libpq headers incompatible with prior versions, what shall we
> do with our convention? Shall we ship 9.x (where 0<=x<=2) drivers and 9.3+
> drivers? What if a next major version implements again another feature
> that makes headers incompatible again?

We've never done that AFAIR.  When and if it happens, that would be the
time to deal with it.

> I think I am asking for is an official statement that clearly says that
> libpq headers are only compatible for a given set of minor versions, like
> (8.4.1, 8.4.2, 8.4.3, ...) or (9.2.1, 9.2.2, ...)

> I believe also that the libpq library should automatically check for
> compatiblity, based on PG_MAJORVERSION definition in pg_config.h ...

It seems highly undesirable to me that we should intentionally break
cross-version compatibility, which is what you seem to be proposing.

            regards, tom lane


pgsql-docs by date:

Previous
From: Sebastien FLAESCH
Date:
Subject: Re: Details about libpq cross-version compatibility
Next
From: Sebastien FLAESCH
Date:
Subject: Re: Details about libpq cross-version compatibility