Fix incorrect buffer lock description in pg_visibility comment - Mailing list pgsql-hackers

From Chao Li
Subject Fix incorrect buffer lock description in pg_visibility comment
Date
Msg-id CAEoWx2kkhxgfp=kinPMetnwHaa0JjR6YBkO_0gg0oiy6mu7Zjw@mail.gmail.com
Whole thread Raw
Responses Re: Fix incorrect buffer lock description in pg_visibility comment
List pgsql-hackers
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.


Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/




Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Refactor to eliminate cast-away-const in pg_dump object sort comparator
Next
From: Tom Lane
Date:
Subject: Re: More const-marking cleanup