A trivial fix on a comment in pgstat_assoc_relation()
Started by Yugo Nagataabout 1 month ago2 messageshackers
Hi,
I noticed that a comment in pgstat_assoc_relation() starts with "Else":
/* Else find or make the PgStat_TableStatus entry, and update link */
This seems to be a vestige from when this function was split out from pgstat_init_relation()
by commit 5891c7a8ed8f, so I think we could simply remove the "Else".
Regards,
Yugo Nagata
--
Yugo Nagata <nagata@sraoss.co.jp>
Attachments:
fix_comment_in_pgstat_assoc_relation.patchtext/x-diff; name=fix_comment_in_pgstat_assoc_relation.patchDownload+1-1
Re: A trivial fix on a comment in pgstat_assoc_relation()
On Fri, May 15, 2026 at 03:09:41PM +0900, Yugo Nagata wrote:
This seems to be a vestige from when this function was split out from pgstat_init_relation()
by commit 5891c7a8ed8f, so I think we could simply remove the "Else".
(Received a poke from Sawada-san on this one.)
Thanks, grabbed this change for later.
--
Michael