From: Michael Paquier Date: Sun, 14 Dec 2025 02:21:01 +0000 (+0900) Subject: doc: Fix incorrect documentation for test_custom_stats X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;p=postgresql.git 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 --- 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.