diff options
author | Andres Freund <andres@anarazel.de> | 2022-04-06 14:09:18 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-04-06 14:09:18 -0700 |
commit | 8ea7963fc741b6f403a544d56ad0ecf78e5237b1 (patch) | |
tree | c8bf72f14c205b147a4d4559775fd224b465b1e6 /src/backend/utils/adt/pgstatfuncs.c | |
parent | cc96373cf39bbfb386a40a47b7f0ea8f051f1838 (diff) | |
download | postgresql-8ea7963fc741b6f403a544d56ad0ecf78e5237b1.tar.gz postgresql-8ea7963fc741b6f403a544d56ad0ecf78e5237b1.zip |
pgstat: add pgstat_copy_relation_stats().
Until now index_concurrently_swap() directly modified pgstat internal
datastructures. That will break with the introduction of shared memory
statistics and seems off architecturally.
This is done separately from the - quite large - shared memory statistics
patch to make review easier.
Author: Andres Freund <andres@anarazel.de>
Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-By: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions