aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-06-17 13:49:40 +0900
committerMichael Paquier <michael@paquier.xyz>2024-06-17 13:49:40 +0900
commitfaaa0d279899f037b4a6472a00fcd14a321e64c7 (patch)
tree7cce0159d2fdb592af5a467ba8f1b013eed38b99 /doc/src
parent645bda2a7155fff57cc3da2ab923202187c72957 (diff)
downloadpostgresql-faaa0d279899f037b4a6472a00fcd14a321e64c7.tar.gz
postgresql-faaa0d279899f037b4a6472a00fcd14a321e64c7.zip
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/xfunc.sgml6
1 files changed, 6 insertions, 0 deletions
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
@@ -3669,6 +3669,12 @@ extern bool InjectionPointDetach(const char *name);
</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
<command>configure</command> or <option>-Dinjection_points=true</option>