A minor grammar error was found in a comment in the smgrtruncate function

Поиск
Список
Период
Сортировка
Искать

A minor grammar error was found in a comment in the smgrtruncate function

От:
jinbinge <jinbinge@126.com>
Дата:
Вложения:
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

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
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
FAQ