doc: Fix incorrect documentation for test_custom_stats master github/master
authorMichael Paquier <[email protected]>
Sun, 14 Dec 2025 02:21:01 +0000 (11:21 +0900)
committerMichael Paquier <[email protected]>
Sun, 14 Dec 2025 02:21:01 +0000 (11:21 +0900)
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 <[email protected]>
Discussion: https://postgr.es/m/CAA5RZ0s4heX926+ZNh63u12gLd9jgauU6yiirKc7xGo1G01PXQ@mail.gmail.com

doc/src/sgml/xfunc.sgml

index 7c76ab8c34950e63f50b82b342823380671a3847..2de3309267d40e9349650c3ed8dde8583e5a7387 100644 (file)
@@ -3935,7 +3935,7 @@ extern bool InjectionPointDetach(const char *name);
 
     <para>
      An example can be found in
 
     <para>
      An example can be found in
-     <filename>src/test/modules/test_custom_stats</filename> in the PostgreSQL
+     <filename>src/test/modules/injection_points</filename> in the PostgreSQL
      source tree.
     </para>
 
      source tree.
     </para>
 
@@ -4005,7 +4005,7 @@ extern PgStat_Kind pgstat_register_kind(PgStat_Kind kind,
 
     <para>
      An example describing how to register and use custom statistics can be
 
     <para>
      An example describing how to register and use custom statistics can be
-     found in <filename>src/test/modules/injection_points</filename>.
+     found in <filename>src/test/modules/test_custom_stats</filename>.
     </para>
    </sect2>
 
     </para>
    </sect2>