pgsql: Show version of nodes in output of TAP tests - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Show version of nodes in output of TAP tests
Date
Msg-id E1vRJbP-002qst-0e@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Show version of nodes in output of TAP tests

This commit adds the version information of a node initialized by
Cluster.pm, that may vary depending on the install_path given by the
test.  The code was written so as the node information, that includes
the version number, was dumped before the version number was set.

This is particularly useful for the pg_upgrade TAP tests, that may mix
several versions for cross-version runs.  The TAP infrastructure also
allows mixing nodes with different versions, so this information can be
useful for out-of-core tests.

Backpatch down to v15, where Cluster.pm and the pg_upgrade TAP tests
have been introduced.

Author: Potapov Alexander <a.potapov@postgrespro.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/e59bb-692c0a80-5-6f987180@170377126
Backpatch-through: 15

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/28c5be4aecda3b692aabc5387de66806a37e0135

Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Melanie Plageman
Date:
Subject: pgsql: Suppress spurious Coverity warning in prune freeze logic
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix some compiler warnings