Addition of PostgreSQL::Test::Cluster::pg_version()
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: Andrew Dunstan <andrew@dunslane.net>
Date: 2022-05-19T01:38:40Z
Lists: pgsql-hackers
Attachments
- tap-pg-version.patch (text/x-diff) patch
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? Thanks, -- Michael
Commits
-
Add pg_version() to PostgreSQL::Test::Cluster
- b39838889e76 15.0 landed