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

From: jinbinge <jinbinge(at)126(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: A minor grammar error was found in a comment in the smgrtruncate function
Date: 2026-01-20 03:50:33
Message-ID: 166ae829.3322.19bd9869297.Coremail.jinbinge@126.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v1-0001-Fix-a-grammar-error-in-a-comment-in-smgrtruncate.patch application/octet-stream 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2026-01-20 03:57:30 Re: Logical Replication of sequences
Previous Message Rob Moore 2026-01-20 03:46:23 Re: Proposal: Add backup start time to pg_stat_progress_basebackup