public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Sebastien FLAESCH <[email protected]>
Cc: [email protected]
Cc: [email protected]
Subject: Re: Details about libpq cross-version compatibility
Date: Thu, 13 Sep 2012 18:25:07 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>

Sebastien FLAESCH <[email protected]> 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




view thread (9+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Details about libpq cross-version compatibility
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox