doc: Mention modules/injection_points as example for injection points
authorMichael Paquier <[email protected]>
Mon, 17 Jun 2024 04:49:40 +0000 (13:49 +0900)
committerMichael Paquier <[email protected]>
Mon, 17 Jun 2024 04:49:40 +0000 (13:49 +0900)
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

index a7c170476af8e083715c80fca9cd7ce1883bb0c3..1d0b65193e3f482539b99bc37f6988fac6120bb9 100644 (file)
@@ -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