pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_visibility: Fix incorrect buffer lock description in comment.
Date: Mon, 05 Jan 2026 23:50:40 +0000
Message-ID: <E1vcuLP-004jWJ-1S@gemulon.postgresql.org> (raw)

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@highgo.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(-)



Message-ID: <E1vcuLP-004jWJ-1S@gemulon.postgresql.org>
Permalink:  ../E1vcuLP-004jWJ-1S@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vcuLP-004jWJ-1S@gemulon.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_visibility: Fix incorrect buffer lock description in comment.
  In-Reply-To: <E1vcuLP-004jWJ-1S@gemulon.postgresql.org>

* 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