pgsql: Allow passing extra options to initdb for tests - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Allow passing extra options to initdb for tests
Date
Msg-id E1raYCW-006LM3-2l@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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 <barwick@gmail.com>
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(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Another try to fix BF failure introduced in commit ddd5f4f54a.
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Pull up ANY-SUBLINK with the necessary lateral support.