pgsql: Fix comment for MAX_SIMUL_LWLOCKS.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix comment for MAX_SIMUL_LWLOCKS.
Date: 2025-08-19 21:49:08
Message-ID: E1uoUCZ-000iAZ-1q@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/aKTuAHVEuYCUmmIy%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3eec0e65331e4a38d0c8b3ac251ea3885452fd71

Modified Files
--------------
src/backend/storage/lmgr/lwlock.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2025-08-20 04:17:25 pgsql: vacuumdb: Make vacuumdb --analyze-only process partitioned table
Previous Message Masahiko Sawada 2025-08-19 19:15:22 pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions.