diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-01-31 12:27:19 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-01-31 12:27:19 +0900 |
commit | ce5c620fb6252dca00d3856d5f09d56c7f1215d0 (patch) | |
tree | c1a9b8164a1398b2f5a5fba8150898aa1bd5ccfa /src/backend/executor/nodeMergeAppend.c | |
parent | 1e380fa7d82df8a1730b80a911f50952c711f2a8 (diff) | |
download | postgresql-ce5c620fb6252dca00d3856d5f09d56c7f1215d0.tar.gz postgresql-ce5c620fb6252dca00d3856d5f09d56c7f1215d0.zip |
Add pgstat_drop_matching_entries() to pgstats
This allows users of the cumulative statistics to drop entries in the
shared hash stats table, deleting as well local references. Callers of
this function can optionally define a callback able to filter which
entries to drop, similarly to pgstat_reset_matching_entries() with its
callback do_reset().
pgstat_drop_all_entries() is refactored so as it uses this new function.
Author: Lukas Fitti
Discussion: https://postgr.es/m/CAP53PkwuFbo3NkwZgxwNRMjMfqPEqidD-SggaoQ4ijotBVLJAA@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeMergeAppend.c')
0 files changed, 0 insertions, 0 deletions