Add PostgreSQL::Test::Cluster::config_data()

Michael Paquier <michael@paquier.xyz>

Commit: ba15f16107bea8a93edc505f3013cd7df4ac90fc
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-02-08T01:35:27Z
Releases: 15.0
Add PostgreSQL::Test::Cluster::config_data()

This is useful to grab some configuration information from a node
already set up, and I personally found two cases for it: pg_upgrade and
a test to emulate check_guc.

Author: Michael Paquier
Discussion: https://postgr.es/m/20211129030833.GJ17618@telsasoft.com
Discussion: https://postgr.es/m/YJ8xTmLQkotVLpN5@paquier.xyz

Files

PathChange+/−
src/test/perl/PostgreSQL/Test/Cluster.pm modified +25 −0

Discussion