doc: Document variables for path substitution in SQL tests master github/master
authorMichael Paquier <michael@paquier.xyz>
Thu, 12 Mar 2026 07:35:58 +0000 (16:35 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 12 Mar 2026 07:41:41 +0000 (16:41 +0900)
commit02976b0a1718037f73fded250411b013e81fdafa
tree4246a05ef4dee31fcca5199a88258f123f525714
parentd841ca2d149666b823525e7f5258efd9ef9d7fb1
doc: Document variables for path substitution in SQL tests

Test suites driven by pg_regress can use the following environment
variables for path substitutions since d1029bb5a26c:
- PG_ABS_SRCDIR
- PG_ABS_BUILDDIR
- PG_DLSUFFIX
- PG_LIBDIR

These variables have never been documented, and they can be useful for
out-of-core code based on the options used by the pg_regress command
invoked by installcheck (or equivalent) to build paths to libraries for
various commands, like LOAD or CREATE FUNCTION.

Reviewed-by: Zhang Hu <kongbaik228@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/abDAWzHaesHLDFke@paquier.xyz
doc/src/sgml/regress.sgml