A minor grammar error was found in a comment in the smgrtruncate function
Started by jinbinge10 months ago2 messageshackers
Stepping through
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
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