From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: tests: Don't use the initdb template for older installations
Date: Fri, 30 Oct 2026 20:33:59 +0000
Message-ID: <E1xMtIV-00000001S2q-2sGi@gemulon.postgresql.org> (raw)
tests: Don't use the initdb template for older installations
Previously the initdb template was used even when creating a Cluster.pm
instance for an old install. Obviously the current template is not right for
that case. The only reason we didn't notice before is because the existing
cross-version tests, e.g. 002_pg_upgrade.pl, always pass initdb options for
the old node.
Oversight in 252dcb32397.
Discussion: https://postgr.es/m/xhzif5hemvslxymzhk3ykdypwqvjm7pz5dm7taizgxgfjw6fwa@6gygmz5bdnc3
Backpatch-through: 17
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6cda9dfc4f9764b6957e4e214193936ffb92906b
Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: tests: Don't use the initdb template for older installations
In-Reply-To: <E1xMtIV-00000001S2q-2sGi@gemulon.postgresql.org>
References: <E1xMtIV-00000001S2q-2sGi@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