pgsql: pg_visibility: Fix incorrect buffer lock description in comment.

From: Masahiko Sawada <msawada(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_visibility: Fix incorrect buffer lock description in comment.
Date: 2026-01-05 23:50:40
Message-ID: E1vcuLP-004jWJ-1S@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_visibility: Fix incorrect buffer lock description in comment.

Although the comment in collect_corrupt_items() stated that the buffer
is locked in exclusive mode, it is actually locked in shared mode.

Author: Chao Li <lic(at)highgo(dot)com>
Discussion: https://postgr.es/m/CAEoWx2kkhxgfp=kinPMetnwHaa0JjR6YBkO_0gg0oiy6mu7Zjw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e212a0f8e6ba95b403aa0ceacc05793449f5e742

Modified Files
--------------
contrib/pg_visibility/pg_visibility.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2026-01-06 01:39:56 pgsql: Clarify where various catcache.h dlist_nodes are used
Previous Message Christoph Berg 2026-01-05 22:29:58 Re: failed NUMA pages inquiry status: Operation not permitted