git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cc96373) | patch
pgstat: add pgstat_copy_relation_stats().
Wed, 6 Apr 2022 21:09:18 +0000 (14:09 -0700)
Wed, 6 Apr 2022 21:09:18 +0000 (14:09 -0700)
commit 8ea7963fc741b6f403a544d56ad0ecf78e5237b1
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
src/backend/catalog/index.c diff | blob | blame | history
src/backend/utils/activity/pgstat_relation.c diff | blob | blame | history
src/include/pgstat.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /