Re: multi-install PostgresNode fails with older postgres versions - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: multi-install PostgresNode fails with older postgres versions
Date
Msg-id YGPnqThf4D2aMia6@paquier.xyz
Whole thread Raw
In response to Re: multi-install PostgresNode fails with older postgres versions  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
On Tue, Mar 30, 2021 at 11:06:55PM -0300, Alvaro Herrera wrote:
> On 2021-Mar-31, Michael Paquier wrote:
>> There is already TestLib::check_pg_config().  Shouldn't you leverage
>> that with PG_VERSION_NUM or equivalent?
>
> hmm, I wonder if we shouldn't take the stance that it is not TestLib's
> business to be calling any Pg binaries.  So that routine should be moved
> to PostgresNode.

Hmm.  I can see the intention, but I am not sure that this is
completely correct either to assume that we require a backend node
when tests just do tests with frontends in standalone, aka with
TestLib::program_*.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: What to call an executor node which lazily caches tuples in a hash table?
Next
From: Isaac Morland
Date:
Subject: Re: Add missing function abs (interval)