mirror of
https://github.com/zebrajr/postgres.git
synced 2026-01-15 12:15:21 +00:00
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.d52c24b0f8has removed a paragraph that was correct, and31280d96a6has 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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user