pgsql: Improve comment on top of pgstat_count_io_op_time() - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Improve comment on top of pgstat_count_io_op_time()
Date
Msg-id E1tem5M-0055y7-Io@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve comment on top of pgstat_count_io_op_time()

This commit adds more documentation to pgstat_count_io_op_time() in
pgstat_io.c, explaining its internals for pgstat_count_buffer_*(),
pgBufferUsage and the contexts where these are used.

Extracted from a larger patch by the same author.

Author: Nazir Bilal Yavuz
Discussion: https://postgr.es/m/CAN55FZ3AiQ+ZMxUuXnBpd0Rrh1YhwJ5FudkHg=JU0P+-W8T4Vg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b998fedab74c6cf4e564c17f4171881759a093ee

Modified Files
--------------
src/backend/utils/activity/pgstat_io.c | 8 ++++++++
1 file changed, 8 insertions(+)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Move CompareType to separate header file
Next
From: Tom Lane
Date:
Subject: pgsql: Fix incorrect range in pg_regress comment.