tests: Don't use the initdb template for older installations

Поиск
Список
Период
Сортировка
Искать

tests: Don't use the initdb template for older installations

От:
Andres Freund <andres@anarazel.de>
Дата:
Вложения:
Hi,

The attached patch fixes the issue that the initdb template mechanism is used
during ->init(), even install_path => ... was passed to Cluster->new().

Obviously using the template, created for the "current" tree, for an older
install won't normally work.

The only reason this hasn't caused breakage so far is that all the existing
tests that use an older node can't use the template for other reasons (because
they pass arguments to ->init()).

I nonticed this when writing a test that didn't pass anything to ->init()...


Planning to push this soon, don't think there's a reason to hold off.


Greetings,

Andres Freund

Re: tests: Don't use the initdb template for older installations

От:
Nathan Bossart <nathandbossart@gmail.com>
Дата:
On Fri, Oct 30, 2026 at 03:18:29PM -0400, Andres Freund wrote:
> Planning to push this soon, don't think there's a reason to hold off.

+1

-- 
nathan


FAQ