diff options
author | Andres Freund <andres@anarazel.de> | 2022-04-04 12:14:34 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-04-04 13:53:34 -0700 |
commit | edadf8098f4b2ca50bcc449f8857d0cc960b3c90 (patch) | |
tree | 710ed7455f85bf13e140aeff83b987b132014eea /src/backend/utils/activity/pgstat_wal.c | |
parent | 4e34747c88a03ede6e9d731727815e37273d4bc9 (diff) |
pgstat: consistent function comment formatting.
There was a wild mishmash of function comment formatting in pgstat, making it
hard to know what to use for any new function and hard to extend existing
comments (particularly due to randomly different forms of indentation).
Author: Andres Freund <andres@anarazel.de>
Reviewed-By: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/20220329191727.mzzwbl7udhpq7pmf@alap3.anarazel.de
Discussion: https://postgr.es/m/20220308205351.2xcn6k4x5yivcxyd@alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/activity/pgstat_wal.c')
-rw-r--r-- | src/backend/utils/activity/pgstat_wal.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/backend/utils/activity/pgstat_wal.c b/src/backend/utils/activity/pgstat_wal.c index 14b6394033c..ad999887630 100644 --- a/src/backend/utils/activity/pgstat_wal.c +++ b/src/backend/utils/activity/pgstat_wal.c @@ -38,14 +38,11 @@ PgStat_MsgWal WalStats; static WalUsage prevWalUsage; -/* ---------- - * pgstat_send_wal() - - * - * Send WAL statistics to the collector. +/* + * Send WAL statistics to the collector. * * If 'force' is not set, WAL stats message is only sent if enough time has * passed since last one was sent to reach PGSTAT_STAT_INTERVAL. - * ---------- */ void pgstat_send_wal(bool force) |