1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-26 01:22:12 +03:00

pgstat: normalize function naming.

Most of pgstat uses pgstat_<verb>_<subject>() or just <verb>_<subject>(). But
not all (some introduced fairly recently by me). Rename ones that aren't
intentionally following a different scheme (e.g. AtEOXact_*).
This commit is contained in:
Andres Freund
2022-04-06 21:29:46 -07:00
parent 79b716cfb7
commit be902e2651
10 changed files with 56 additions and 57 deletions

View File

@ -1830,7 +1830,7 @@ pg_stat_get_slru(PG_FUNCTION_ARGS)
PgStat_SLRUStats stat;
const char *name;
name = pgstat_slru_name(i);
name = pgstat_get_slru_name(i);
if (!name)
break;