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