Fix function name in comment
authorDaniel Gustafsson
Wed, 1 Nov 2023 10:46:30 +0000 (11:46 +0100)
committerDaniel Gustafsson
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 
Discussion: https://postgr.es/m/20231101.172308.1740861597185391383[email protected]
Backpatch-through: v16

src/backend/utils/adt/pgstatfuncs.c

index dd5094a2d45a9b59907c000423f5cbdca3a626bd..68ecd3bc66ba9889d677f4e616d48f2169d9827c 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 */