Add PostgreSQL::Test::Cluster::config_data()
authorMichael Paquier <michael@paquier.xyz>
Tue, 8 Feb 2022 01:35:27 +0000 (10:35 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 8 Feb 2022 01:35:27 +0000 (10:35 +0900)
commitba15f16107bea8a93edc505f3013cd7df4ac90fc
tree7b6dada1818c619f04ec71ecfadfc2f2585a32e4
parentf1ea98a7975e15cefdb446385880a2f55224ee7d
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
src/test/perl/PostgreSQL/Test/Cluster.pm