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

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Addition of PostgreSQL::Test::Cluster::pg_version()
Дата
Msg-id fdb49907-1c4b-f32a-c2ad-c178b7512966@dunslane.net
обсуждение исходный текст
Ответ на Addition of PostgreSQL::Test::Cluster::pg_version()  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Addition of PostgreSQL::Test::Cluster::pg_version()
Re: Addition of PostgreSQL::Test::Cluster::pg_version()
Список 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 Cluster.pm.  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.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Build-farm - intermittent error in 031_column_list.pl
Следующее
От: Ronan Dunklau
Дата:
Сообщение: Re: Removing unneeded self joins