pgsql: injection_points: Add stats for point caching and loading
От | Michael Paquier |
---|---|
Тема | pgsql: injection_points: Add stats for point caching and loading |
Дата | |
Msg-id | E1sfpsd-000M1o-47@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
injection_points: Add stats for point caching and loading This adds two counters to the fixed-numbered stats of injection points to track the number of times injection points have been cached and loaded from the cache, as of the additions coming from a0a5869a8598 and 4b211003ecc2. These should have been part of f68cd847fa40, but I have lacked time and energy back then, and it did not prevent the code to be a useful template. While on it, this commit simplifies the description of a few tests while adding coverage for the new stats data. Author: Yogesh Sharma Discussion: https://postgr.es/m/3a6977f7-54ab-43ce-8806-11d5e15526a2@catprosystems.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2793acecee340aa9582e0f3efe9ff6cb4b5bdf5a Modified Files -------------- .../injection_points/injection_points--1.0.sql | 4 +++- .../modules/injection_points/injection_points.c | 8 +++++--- .../modules/injection_points/injection_stats.h | 4 +++- .../injection_points/injection_stats_fixed.c | 24 ++++++++++++++++++---- src/test/modules/injection_points/t/001_stats.pl | 18 ++++++++++++---- 5 files changed, 45 insertions(+), 13 deletions(-)
В списке pgsql-committers по дате отправления: