From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.
Date: Sat, 13 Feb 2016 09:54:07 -0500
Message-ID: <20163.1455375247@sss.pgh.pa.us> (raw)
In-Reply-To: <CANP8+jJJ74ZAHm5k=jFhBxGANpcrrMM4up3at1x7x2EGtUZHww@mail.gmail.com>
References: <E1aTWRp-0001Ss-Vv@gemulon.postgresql.org>
<56BB608B.10002@iki.fi>
<CA+TgmoabXpECmAGD-G22Z9Gf9_fCVB3xpFVAUykBHUYckyQSyg@mail.gmail.com>
<27480.1455122196@sss.pgh.pa.us>
<CANP8+jJJ74ZAHm5k=jFhBxGANpcrrMM4up3at1x7x2EGtUZHww@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Simon Riggs <simon@2ndQuadrant.com> writes:
> On 10 February 2016 at 16:36, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> FWIW, I wasn't paying attention either, but I'm convinced by Robert's
>> argument. Avoiding coupling between extensions is worth an API break.
> Old APIs - why can't we keep it?
Because with the old API, a bug in extension A may go unnoticed in A's
testing but break when it's combined with extension B. That causes
headaches all around, not just to the extension authors but to their
users. The new API ensures detection of didn't-request-enough-locks
bugs regardless of which other extensions are installed. That is worth
the cost of a forced API update, in Robert's judgement and mine too.
(Having said that, I wonder if we could put back the old API as a shim
layer *without* the allocate-some-excess-locks proviso. That would
get us to a situation where standalone testing of a broken extension
would disclose its bug, without breaking non-buggy extensions.)
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, simon@2ndQuadrant.com, robertmhaas@gmail.com, hlinnaka@iki.fi, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.
In-Reply-To: <20163.1455375247@sss.pgh.pa.us>
References: <E1aTWRp-0001Ss-Vv@gemulon.postgresql.org> <56BB608B.10002@iki.fi> <CA+TgmoabXpECmAGD-G22Z9Gf9_fCVB3xpFVAUykBHUYckyQSyg@mail.gmail.com> <27480.1455122196@sss.pgh.pa.us> <CANP8+jJJ74ZAHm5k=jFhBxGANpcrrMM4up3at1x7x2EGtUZHww@mail.gmail.com> <20163.1455375247@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox