mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +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:
@@ -215,7 +215,7 @@ SimpleLruInit(SlruCtl ctl, const char *name, int nslots, int nlsns,
|
||||
|
||||
/* shared->latest_page_number will be set later */
|
||||
|
||||
shared->slru_stats_idx = pgstat_slru_index(name);
|
||||
shared->slru_stats_idx = pgstat_get_slru_index(name);
|
||||
|
||||
ptr = (char *) shared;
|
||||
offset = MAXALIGN(sizeof(SlruSharedData));
|
||||
|
||||
Reference in New Issue
Block a user