Content-Length: 244869 | pFad | http://github.com/postgrespro/postgres/commit/d6c0db14836cd843d589372d909c73aab68c7a24

9E pgstat: Hide instability in stats.spec with -DCATCACHE_FORCE_RELEASE. · postgrespro/postgres@d6c0db1 · GitHub
Skip to content

Commit d6c0db1

Browse files
committed
pgstat: Hide instability in stats.spec with -DCATCACHE_FORCE_RELEASE.
With -DCATCACHE_FORCE_RELEASE a few tests failed. Those were trying to test behavior in the absence of invalidation processing and -DCATCACHE_FORCE_RELEASE obviously adds a lot of invalidation processing. The test already tried to handle debug_discard_caches > 0, by disabling it for individual tests. Instead hide potentially problematic function calls in a wrapper function that catches the does-not-exist error. The error isn't the actually interesting bit, it's whether the stats entry still exist afterwards. I confirmed that the tests still catches leaked function stats if I nuke the protections against that in pgstat_function.c. Per buildfarm animal prion. Discussion: https://postgr.es/m/20220407165709.jgdkrzqlkcwue6ko@alap3.anarazel.de
1 parent 5264add commit d6c0db1

File tree

3 files changed

+172
-170
lines changed

3 files changed

+172
-170
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/d6c0db14836cd843d589372d909c73aab68c7a24

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy