diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-11-13 08:45:14 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-11-13 09:00:38 -0500 |
commit | a688c39e1dca56490527ccac13ea4ac752c7116a (patch) | |
tree | c31c2a241ecff616099176ae266bd481e271fc05 /src/backend/access/gist/gistproc.c | |
parent | c727f511bd7bf3c58063737bcf7a8f331346f253 (diff) | |
download | postgresql-a688c39e1dca56490527ccac13ea4ac752c7116a.tar.gz postgresql-a688c39e1dca56490527ccac13ea4ac752c7116a.zip |
Make PostgreSQL::Test::Cluster::config_data more flexible
Currently this only allows for one argument, which must be present, and
always returns a single string. With this change the following now all
work:
$all_config = $node->config_data;
%config_map = ($node->config_data);
$incdir = $node->config_data('--include-dir');
($incdir, $sharedir) = $node->config_data(
qw(--include-dir --share-dir));
Backpatch to release 15 where this was introduced.
Discussion: https://postgr.es/m/73eea68e-3b6f-5f63-6024-25ed26b52016@dunslane.net
Reviewed by Tom Lane, Alvaro Herrera, Michael Paquier.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions