Re: Details about libpq cross-version compatibility
От | Tom Lane |
---|---|
Тема | Re: Details about libpq cross-version compatibility |
Дата | |
Msg-id | 23464.1347575107@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Details about libpq cross-version compatibility (Sebastien FLAESCH <sf@4js.com>) |
Ответы |
Re: Details about libpq cross-version compatibility
|
Список | 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 по дате отправления: