pgsql: doc: Document variables for path substitution in SQL tests

Started by Michael Paquier5 months ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/abDAWzHaesHLDFke@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/02976b0a1718037f73fded250411b013e81fdafa

Modified Files
--------------
doc/src/sgml/regress.sgml | 64 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)