Re: API changes in patch release

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: API changes in patch release
Дата
Msg-id 200605231916.k4NJG9v18658@candle.pha.pa.us
обсуждение исходный текст
Ответ на API changes in patch release  (Thomas Hallgren <thomas@tada.se>)
Список pgsql-hackers
Thomas Hallgren wrote:
> The world is not perfect and I know that you are normally very 
> restrictive in what is back-patched from head into bug-fix branches. The 
> 8.1.4 release however, did introduce a problem. You changed the API 
> function inv_open() with the comment "Revise large-object access 
> routines to avoid running with CurrentMemoryContext".
> 
> This change will force me to a) introduce patch level sensitive 
> conditionals in the code, and b) have two PostgreSQL 8.1.n compatible 
> releases of PL/Java. One where n < 4 and another where n >= 4. I would 
> like to avoid this in the future if possible. API's should remain stable 
> during patch releases.
> 
> Having said that, I've been in the game long enough to know that Utopia 
> doesn't exist. You probably had a very good reason to break the 
> compatibility.

I don't think any of us realized the change would affect third-party
projects.

--  Bruce Momjian   http://candle.pha.pa.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Update on sort-compression stuff
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Weird ..... (a=1 or a=2) <> (a=2 or a=1)