Re: API changes in patch release - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: API changes in patch release
Date
Msg-id 200605231916.k4NJG9v18658@candle.pha.pa.us
Whole thread Raw
In response to API changes in patch release  (Thomas Hallgren <thomas@tada.se>)
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Update on sort-compression stuff
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Weird ..... (a=1 or a=2) <> (a=2 or a=1)