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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Document variables for path substitution in SQL tests
Date: 2026-03-12 07:45:26
Message-ID: E1w0ajW-003aLW-2M@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://postgr.es/m/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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2026-03-12 17:00:57 pgsql: Add pg_plan_advice contrib module.
Previous Message Michael Paquier 2026-03-12 03:32:01 pgsql: bloom: Optimize VACUUM and bulk-deletion with streaming read