| From: | Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp> |
|---|---|
| To: | Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | A trivial fix on a comment in pgstat_assoc_relation() |
| Date: | 2026-05-15 06:09:41 |
| Message-ID: | 20260515150941.492d6b2d2f7bf61c5e21d181@sraoss.co.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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(at)sraoss(dot)co(dot)jp>
| Attachment | Content-Type | Size |
|---|---|---|
| fix_comment_in_pgstat_assoc_relation.patch | text/x-diff | 625 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-05-15 06:22:12 | Simplify signature of ProcessStartupPacket() |
| Previous Message | Xuneng Zhou | 2026-05-15 05:32:43 | Bound memory usage during manual slot sync retries |