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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b10528e) | patch
injection_points: Add stats for point caching and loading
2024年8月19日 00:03:52 +0000 (09:03 +0900)
2024年8月19日 00:03:52 +0000 (09:03 +0900)
commit 2793acecee340aa9582e0f3efe9ff6cb4b5bdf5a
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
src/test/modules/injection_points/injection_points--1.0.sql diff | blob | blame | history
src/test/modules/injection_points/injection_points.c diff | blob | blame | history
src/test/modules/injection_points/injection_stats.h diff | blob | blame | history
src/test/modules/injection_points/injection_stats_fixed.c diff | blob | blame | history
src/test/modules/injection_points/t/001_stats.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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