postgres.git / summary / log / commit / refs
commit faaa0d279899f037b4a6472a00fcd14a321e64c7
Author: Michael Paquier <michael@paquier.xyz>
Date: Mon Jun 17 04:49:40 2024 +0000
First released in: 17.0
doc: Mention modules/injection_points as example for injection points
This should have been added in 49cd2b93d7db, that introduced the module.
Reported-by: Jian He
Discussion: https://postgr.es/m/CACJufxF+Vfj2Oz2kBR5v1bjHeZxvs63cLogm70v9Uto1Rqiieg@mail.gmail.com
doc/src/sgml/xfunc.sgml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml
index a7c170476af..1d0b65193e3 100644
--- a/doc/src/sgml/xfunc.sgml
+++ b/doc/src/sgml/xfunc.sgml
@@ -3668,6 +3668,12 @@ extern bool InjectionPointDetach(const char *name);
using <literal>InjectionPointDetach</literal>.
</para>
+ <para>
+ An example can be found in
+ <filename>src/test/modules/injection_points</filename> in the PostgreSQL
+ source tree.
+ </para>
+
<para>
Enabling injections points requires
<option>--enable-injection-points</option> with
[parent: 645bda2a7155]