From faaa0d279899f037b4a6472a00fcd14a321e64c7 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 17 Jun 2024 13:49:40 +0900 Subject: [PATCH] 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 InjectionPointDetach. + + An example can be found in + src/test/modules/injection_points in the PostgreSQL + source tree. + + Enabling injections points requires with