Re: Proposal: Document ABI Compatibility - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Proposal: Document ABI Compatibility
Date
Msg-id 3F0995FD-3872-4AA6-97B4-B27E7EC64450@justatheory.com
Whole thread Raw
In response to Re: Proposal: Document ABI Compatibility  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Jun 12, 2024, at 10:47, Robert Haas <robertmhaas@gmail.com> wrote:

> What I think would be useful to document is our usual practices e.g.
> adding new struct members at the end of structs, trying to avoid
> changing public function signatures. If we document promises to
> extension authors, I don't know how much difference that will make:
> we'll probably end up needing to violate them at some point for one
> reason or another.

I think that’s fine if there is some sort of notification process. The policy I drafted upthread starts with making
surethe such a break is mentioned in the release notes. 

> But if we document what committers should do, then
> we might do better than we're now, because committers will be more
> likely to do it right, and extension authors can also read those
> instructions to understand what our practices are.

Yes, this, thank you!

D




pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Remove dependence on integer wrapping
Next
From: Imran Zaheer
Date:
Subject: Re: Windows: openssl & gssapi dislike each other