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:
@ -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;
|
||||
|
Reference in New Issue
Block a user