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.

d52c24b0f8 has removed a paragraph that was correct, and 31280d96a6
has added a paragraph that was incorrect.

Author: Sami Imseih <samimseih@gmail.com>
Discussion: https://postgr.es/m/CAA5RZ0s4heX926+ZNh63u12gLd9jgauU6yiirKc7xGo1G01PXQ@mail.gmail.com
This commit is contained in:
Michael Paquier
2025-12-14 11:21:01 +09:00
parent ef5f559b95
commit 5b3ef3055d

View File

@@ -3935,7 +3935,7 @@ extern bool InjectionPointDetach(const char *name);
<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>
@@ -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
found in <filename>src/test/modules/injection_points</filename>.
found in <filename>src/test/modules/test_custom_stats</filename>.
</para>
</sect2>