Re: BUFFER_LOCK_* synonyms - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: BUFFER_LOCK_* synonyms
Date
Msg-id CAM3SWZQD_1vv1Ds+=LeRpKRGYS4pPA7wHV-Atsm5BosyqtYizg@mail.gmail.com
Whole thread Raw
In response to Re: BUFFER_LOCK_* synonyms  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Wed, Sep 16, 2015 at 9:30 AM, Andres Freund <andres@anarazel.de> wrote:
> I was annoyed by this more than once too. It also bugs me that unlocking
> a buffer is spelled LockBuffer(..., BUFFER_LOCK_UNLOCK) - that just
> reads wrong.

Pretty sure that this was discussed a couple of times before. I find
it annoying myself, but I tend to doubt that it's worth changing.


-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Jesper Pedersen
Date:
Subject: Re: Additional LWLOCK_STATS statistics
Next
From: Alexander Korotkov
Date:
Subject: Re: Use pg_rewind when target timeline was switched