pgsql: tests: Don't use the initdb template for older installations
Started by Andres Freund23 days ago1 messagescommitters
Stepping through
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: /messages/by-id/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(-)