pgstat: fix function name in comment.
authorAndres Freund <andres@anarazel.de>
Tue, 22 Mar 2022 15:15:40 +0000 (08:15 -0700)
committerAndres Freund <andres@anarazel.de>
Tue, 22 Mar 2022 15:15:40 +0000 (08:15 -0700)
Introduced in 3fa17d37716.

src/backend/postmaster/pgstat.c

index 1e7adc27b9d3fa3d60551e9455bcca6f6911c4b8..c10311e03664f5a01708f6a3b8437568236bf73d 100644 (file)
@@ -2132,7 +2132,7 @@ pgstat_get_tab_entry(PgStat_StatDBEntry *dbentry, Oid tableoid, bool create)
 }
 
 /* ----------
- * pgstat_replslot_entry
+ * pgstat_get_replslot_entry
  *
  * Return the entry of replication slot stats with the given name. Return
  * NULL if not found and the caller didn't request to create it.