pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Code cleanup in the wake of recent LWLock refactoring.
Date: Wed, 10 Feb 2016 18:08:43 +0200
Message-ID: <56BB608B.10002@iki.fi> (raw)
In-Reply-To: <E1aTWRp-0001Ss-Vv@gemulon.postgresql.org>
References: <E1aTWRp-0001Ss-Vv@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 10/02/16 17:12, Robert Haas wrote:
> Code cleanup in the wake of recent LWLock refactoring.
>
> As of commit c1772ad9225641c921545b35c84ee478c326b95e, there's no
> longer any way of requesting additional LWLocks in the main tranche,
> so we don't need NumLWLocks() or LWLockAssign() any more.  Also,
> some of the allocation counters that we had previously aren't needed
> any more either.

(Sorry if this was discussed already, I haven't been paying attention)

LWLockAssign() is used by extensions. Are we OK with just breaking them, 
requiring them to change LWLockAssign() with the new mechanism, with 
#ifdefs to support multiple server versions? Seems like it shouldn't be 
too hard to keep LWLockAssign() around for the benefit of extensions, so 
it seems a bit inconsiderate to remove it.

- Heikki



-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (26+ messages)  latest in thread

Message-ID: <56BB608B.10002@iki.fi>
Permalink:  ../56BB608B.10002@iki.fi/
Also on:    postgresql.org/message-id/56BB608B.10002@iki.fi

 · 

reply

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: hlinnaka@iki.fi, rhaas@postgresql.org
  Subject: Re: pgsql: Code cleanup in the wake of recent LWLock refactoring.
  In-Reply-To: <56BB608B.10002@iki.fi>
  References: <E1aTWRp-0001Ss-Vv@gemulon.postgresql.org> <56BB608B.10002@iki.fi>

* 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