diff options
author | Michael Paquier | 2025-04-22 03:41:29 +0000 |
---|---|---|
committer | Michael Paquier | 2025-04-22 03:41:29 +0000 |
commit | e29df428a1dca4112aad640c889a9a54642759c9 (patch) | |
tree | 9ea166f7cad892c86519f0ac828d4260377aff88 /doc | |
parent | 0b06459f3c0a515c922f2a22974acea9db38c024 (diff) |
doc: Mention naming convention used by injection points
All the injection points used in the tree have relied on an implied
rule: their names should be made of lower-case characters, with dashes
between the words used.
This commit adds a light mention about that in the docs, encouraging the
practice.
Author: Hayato Kuroda <[email protected]>
Reviewed-by: Aleksander Alekseev <[email protected]>
Discussion: https://postgr.es/m/OSCPR01MB14966E14C1378DEE51FB7B7C5F5B32@OSCPR01MB14966.jpnprd01.prod.outlook.com
Backpatch-through: 17
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/sgml/xfunc.sgml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml index 8074f66417d..3a73b02ccaf 100644 --- a/doc/src/sgml/xfunc.sgml +++ b/doc/src/sgml/xfunc.sgml @@ -3836,7 +3836,8 @@ INJECTION_POINT(name); within the server code. After adding a new injection point the code needs to be compiled in order for that injection point to be available in the binary. Add-ins written in C-language can declare injection points in - their own code using the same macro. + their own code using the same macro. The injection point names should + use lower-case characters, with terms separated by dashes. </para> <para> |