public inbox for [email protected]
help / color / mirror / Atom feedFrom: Peter Eisentraut <[email protected]>
To: [email protected]
Subject: pgsql: Allow passing extra options to initdb for tests
Date: Thu, 15 Feb 2024 09:38:40 +0000
Message-ID: <[email protected]> (raw)
Allow passing extra options to initdb for tests
Setting the environment variable PG_TEST_INITDB_EXTRA_OPTS passes
extra options to initdb run by pg_regress or
PostgreSQL::Test::Cluster's init.
This can be useful for a wide variety of uses, like running all tests
with checksums enabled, or with JIT enabled, or with different GUC
settings, or with different locale settings. (Not all tests are going
to pass with arbitrary options, but it is useful to run this against
specific test suites.)
Reviewed-by: Ian Lawrence Barwick <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/d4d2ad9f-1c1d-47a1-bb4d-c10a747d4f15%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/995d400ceca3e552f84fe19f150fb03327bdc0c2
Modified Files
--------------
doc/src/sgml/regress.sgml | 34 +++++++++++++++++++++++++-------
src/test/perl/PostgreSQL/Test/Cluster.pm | 7 +++++++
src/test/regress/pg_regress.c | 7 ++++++-
3 files changed, 40 insertions(+), 8 deletions(-)
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: Allow passing extra options to initdb for tests
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox