mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +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:
@@ -134,20 +134,19 @@ extern void pgstat_send_slru(void);
|
||||
* Functions in pgstat_wal.c
|
||||
*/
|
||||
|
||||
extern void pgstat_wal_initialize(void);
|
||||
extern bool pgstat_wal_pending(void);
|
||||
extern void pgstat_init_wal(void);
|
||||
extern bool pgstat_have_pending_wal(void);
|
||||
|
||||
|
||||
/*
|
||||
* Functions in pgstat_xact.c
|
||||
*/
|
||||
|
||||
extern PgStat_SubXactStatus *pgstat_xact_stack_level_get(int nest_level);
|
||||
extern PgStat_SubXactStatus *pgstat_get_xact_stack_level(int nest_level);
|
||||
extern void pgstat_drop_transactional(PgStat_Kind kind, Oid dboid, Oid objoid);
|
||||
extern void pgstat_create_transactional(PgStat_Kind kind, Oid dboid, Oid objoid);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Variables in pgstat.c
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user