pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Document variables for path substitution in SQL tests
Date: Thu, 12 Mar 2026 07:45:26 +0000
Message-ID: <E1w0ajW-003aLW-2M@gemulon.postgresql.org> (raw)

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

Branch
------
master

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

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



Message-ID: <E1w0ajW-003aLW-2M@gemulon.postgresql.org>
Permalink:  ../E1w0ajW-003aLW-2M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w0ajW-003aLW-2M@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Document variables for path substitution in SQL tests
  In-Reply-To: <E1w0ajW-003aLW-2M@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox