A trivial fix on a comment in pgstat_assoc_relation()

Yugo Nagata <nagata@sraoss.co.jp>

From: Yugo Nagata <nagata@sraoss.co.jp>
To: Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2026-05-15T06:09:41Z
Lists: pgsql-hackers

Attachments

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>