Fix incorrect buffer lock description in pg_visibility comment
Chao Li <li.evan.chao@gmail.com>
From: Chao Li <li.evan.chao@gmail.com>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>
Date: 2025-12-24T02:17:56Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pg_visibility: Fix incorrect buffer lock description in comment.
- e212a0f8e6ba 19 (unreleased) landed
Attachments
- v1-0001-Fix-incorrect-buffer-lock-description-in-pg_visib.patch (application/octet-stream) patch v1-0001
Hi Hackers, While reviewing the patch [1], though I couldn’t raise a comment for it, I noticed a comment error in the file pg_visibility.c, where a buffer lock is held in shared mode but the code comment mentioned exclusive mode. I am filing a small patch to correct the comment. I only changed "exclusively" to "shared", the format changed was done by pgindent. [1] https://postgr.es/m/CAEze2WgPu-EYYuYQimy=AHQHGa7w8EvLVve5DM5eGMR6zh-7sw@mail.gmail.com Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/