From 5b3ef3055d8ec22610af399715128361a65c845f Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Sun, 14 Dec 2025 11:21:01 +0900 Subject: [PATCH] doc: Fix incorrect documentation for test_custom_stats The reference to the test module test_custom_stats should have been added under the section "Custom Cumulative Statistics", but the section "Injection Points" has been updated instead, reversing the references for both test modules. d52c24b0f808 has removed a paragraph that was correct, and 31280d96a648 has added a paragraph that was incorrect. Author: Sami Imseih Discussion: https://postgr.es/m/CAA5RZ0s4heX926+ZNh63u12gLd9jgauU6yiirKc7xGo1G01PXQ@mail.gmail.com --- 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.39.5