Re: Addition of PostgreSQL::Test::Cluster::pg_version()

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Addition of PostgreSQL::Test::Cluster::pg_version()
Date: 2022-05-19 11:28:53
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 2022-05-18 We 21:38, Michael Paquier wrote:
> Hi all,
> (Added Andrew in CC.)
> While working more on expanding the tests of pg_upgrade for
> cross-version checks, I have noticed that we don't expose a routine
> able to get back _pg_version from a node, which should remain a
> private field of We already do that for install_path, as
> of case added by 87076c4.
> Any objections or comments about the addition of a routine to get the
> PostgreSQL::Version, as of the attached?

Looks ok. PostgreSQL::Version is designed so that the object behaves
sanely in comparisons and when interpolated into a string.



Andrew Dunstan

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Ronan Dunklau 2022-05-19 11:47:36 Re: Removing unneeded self joins
Previous Message Amit Kapila 2022-05-19 11:12:31 Re: Build-farm - intermittent error in