Fix function name in comment
authorDaniel Gustafsson <[email protected]>
Wed, 1 Nov 2023 10:46:30 +0000 (11:46 +0100)
committerDaniel Gustafsson <[email protected]>
Wed, 1 Nov 2023 10:46:30 +0000 (11:46 +0100)
The name of the function resulting from the macro expansion was
incorrectly stated.

Backpatch to 16 where it was introduced.

Author: Kyotaro Horiguchi <[email protected]>
Discussion: https://postgr.es/m/20231101.172308.1740861597185391383[email protected]
Backpatch-through: v16

src/backend/utils/adt/pgstatfuncs.c

index 28ee97968b81d1e07f32dc07d44b91954805a6dc..1fb8b31863005905af3ca8cafac15a726d7ce632 100644 (file)
@@ -78,7 +78,7 @@ PG_STAT_GET_RELENTRY_INT64(ins_since_vacuum)
 /* pg_stat_get_live_tuples */
 PG_STAT_GET_RELENTRY_INT64(live_tuples)
 
-/* pg_stat_get_mods_since_analyze */
+/* pg_stat_get_mod_since_analyze */
 PG_STAT_GET_RELENTRY_INT64(mod_since_analyze)
 
 /* pg_stat_get_numscans */