From af09177a2ed4a0a715492e06b20a70a62295b3b7 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 14 Dec 2025 01:29:35 +0000 Subject: [PATCH v1 1/1] Fix incorrect documentation for test_custom_stats In 31280d96a6, the reference to the test_custom_stats module should have been added under "Custom Cumulative Statistics" section instead of the "Injection Points" section. Discussion: https://www.postgresql.org/message-id/aTZxqzPWr0wMVLq2%40paquier.xyz --- doc/src/sgml/xfunc.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml index 7c76ab8c349..2de3309267d 100644 --- a/doc/src/sgml/xfunc.sgml +++ b/doc/src/sgml/xfunc.sgml @@ -3935,7 +3935,7 @@ extern bool InjectionPointDetach(const char *name); An example can be found in - src/test/modules/test_custom_stats in the PostgreSQL + src/test/modules/injection_points in the PostgreSQL source tree. @@ -4005,7 +4005,7 @@ extern PgStat_Kind pgstat_register_kind(PgStat_Kind kind, An example describing how to register and use custom statistics can be - found in src/test/modules/injection_points. + found in src/test/modules/test_custom_stats. -- 2.43.0