A minor grammar error was found in a comment in the smgrtruncate function
Started by jinbinge3 months ago2 messageshackers
Hi,
I found a minor grammar error in a comment in the smgrtruncate function (src/backend/storage/smgr/smgr.c).
The word "is" is redundant and should be omitted.
/* Make the cached size is invalid if we encounter an error. */
reln->smgr_cached_nblocks[forknum[i]] = InvalidBlockNumber;
Regards,
Jinbinge
Attachments:
v1-0001-Fix-a-grammar-error-in-a-comment-in-smgrtruncate.patchapplication/octet-stream; name=v1-0001-Fix-a-grammar-error-in-a-comment-in-smgrtruncate.patch; x-cm-securityLevel=0Download+1-2
Re: A minor grammar error was found in a comment in the smgrtruncate function
On Tue, Jan 20, 2026 at 11:50:33AM +0800, jinbinge wrote:
I found a minor grammar error in a comment in the smgrtruncate
function (src/backend/storage/smgr/smgr.c).
The word "is" is redundant and should be omitted.
Thanks, grabbed this one for later.
--
Michael