Thread

Commits

  1. Fix comment for MAX_SIMUL_LWLOCKS.

  2. Don't bother to lock bufmgr partitions in pg_buffercache.

  1. fix comment for MAX_SIMUL_LWLOCKS

    Nathan Bossart <nathandbossart@gmail.com> — 2025-08-19T21:34:56Z

    This comment mentions that pg_buffercache locks all buffer partitions
    simultaneously, but it hasn't done so since v10 (see commit 6e654546fb).
    
    -- 
    nathan
    
  2. Re: fix comment for MAX_SIMUL_LWLOCKS

    Andres Freund <andres@anarazel.de> — 2025-08-19T21:40:23Z

    Hi,
    
    On 2025-08-19 16:34:56 -0500, Nathan Bossart wrote:
    > From 68b81e3bf70d5da0a0e2d0a0087218df7fde1101 Mon Sep 17 00:00:00 2001
    > From: Nathan Bossart <nathan@postgresql.org>
    > Date: Tue, 19 Aug 2025 16:27:33 -0500
    > Subject: [PATCH v1 1/1] Fix comment for MAX_SIMUL_LWLOCKS.
    > 
    > This comment mentions that pg_buffercache locks all buffer
    > partitions simultaneously, but it hasn't done so since v10.
    > 
    > Oversight in commit 6e654546fb.
    
    LGTM
    
    
    
    
  3. Re: fix comment for MAX_SIMUL_LWLOCKS

    Nathan Bossart <nathandbossart@gmail.com> — 2025-08-19T21:49:08Z

    On Tue, Aug 19, 2025 at 05:40:23PM -0400, Andres Freund wrote:
    > LGTM
    
    Thanks, committed.
    
    -- 
    nathan