diff options
author | Peter Geoghegan | 2023-04-13 17:15:20 +0000 |
---|---|---|
committer | Peter Geoghegan | 2023-04-13 17:15:20 +0000 |
commit | d6f0f95a6bb7fa43731c6db83226a3c574041659 (patch) | |
tree | 0d7f1e9c600b8bc5162dd3a03ed16454e7638199 /src/include/pgstat.h | |
parent | f7431bca8b0138bdbce7025871560d39119565a0 (diff) |
Harmonize some more function parameter names.
Make sure that function declarations use names that exactly match the
corresponding names from function definitions in a few places. These
inconsistencies were all introduced relatively recently, after the code
base had parameter name mismatches fixed in bulk (see commits starting
with commits 4274dc22 and 035ce1fe).
pg_bsd_indent still has a couple of similar inconsistencies, which I
(pgeoghegan) have left untouched for now.
Like all earlier commits that cleaned up function parameter names, this
commit was written with help from clang-tidy.
Diffstat (limited to 'src/include/pgstat.h')
-rw-r--r-- | src/include/pgstat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h index a1e51404970..fff4ad5b6dd 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -515,13 +515,13 @@ extern PgStat_CheckpointerStats *pgstat_fetch_stat_checkpointer(void); * Functions in pgstat_io.c */ -extern bool pgstat_bktype_io_stats_valid(PgStat_BktypeIO *context_ops, +extern bool pgstat_bktype_io_stats_valid(PgStat_BktypeIO *backend_io, BackendType bktype); extern void pgstat_count_io_op(IOObject io_object, IOContext io_context, IOOp io_op); extern void pgstat_count_io_op_n(IOObject io_object, IOContext io_context, IOOp io_op, uint32 cnt); extern instr_time pgstat_prepare_io_time(void); extern void pgstat_count_io_op_time(IOObject io_object, IOContext io_context, - IOOp io_op, instr_time time, uint32 cnt); + IOOp io_op, instr_time start_time, uint32 cnt); extern PgStat_IO *pgstat_fetch_stat_io(void); extern const char *pgstat_get_io_context_name(IOContext io_context); |