diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-12-19 10:16:02 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-12-19 10:16:02 +0900 |
commit | ff7c40d7fd6a218f31fcf6f2c23c544c85934b24 (patch) | |
tree | ea63f1679dff45597091990f9e7abebdbb353bf7 /src/backend/executor/nodeSetOp.c | |
parent | 08cdb079d4a8a82c687321e9ffe0a3d3fbcc0551 (diff) | |
download | postgresql-ff7c40d7fd6a218f31fcf6f2c23c544c85934b24.tar.gz postgresql-ff7c40d7fd6a218f31fcf6f2c23c544c85934b24.zip |
Extract logic filling pg_stat_get_io()'s tuplestore into its own routine
This commit adds pg_stat_io_build_tuples(), a helper routine for
pg_stat_get_io(), that fills its result tuplestore based on the contents
of PgStat_BktypeIO. This will be used in a follow-up commit that uses
the same structures as pg_stat_io for reporting, including the same
object types and contexts, but for a different statistics kind.
Author: Bertrand Drouvot, Michael Paquier
Discussion: https://postgr.es/m/ZtXR+CtkEVVE/LHF@ip-10-97-1-34.eu-west-3.compute.internal
Diffstat (limited to 'src/backend/executor/nodeSetOp.c')
0 files changed, 0 insertions, 0 deletions