summaryrefslogtreecommitdiff
path: root/contrib/auto_explain
diff options
context:
space:
mode:
authorMichael Paquier2025-03-17 05:07:12 +0000
committerMichael Paquier2025-03-17 05:07:12 +0000
commit3943f5cff6a66639d295a6f1922e54b79d2ab16f (patch)
tree6152a13d5e0f612e2edb2589a6dcad14d6ce62ee /contrib/auto_explain
parent19c6e92b13b2336d1db1b236457ab15d0894b506 (diff)
Fix inconsistent quoting for some options in TAP tests
This commit addresses some inconsistencies with how the options of some routines from PostgreSQL/Test/ are written, mainly for init() and init_from_backup() in Cluster.pm. These are written as unquoted, except in the locations updated here. Changes extracted from a larger patch by the same author. Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/87jz8rzf3h.fsf@wibble.ilmari.org
Diffstat (limited to 'contrib/auto_explain')
-rw-r--r--contrib/auto_explain/t/001_auto_explain.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/auto_explain/t/001_auto_explain.pl b/contrib/auto_explain/t/001_auto_explain.pl
index 80c0c19af58..25252604b7d 100644
--- a/contrib/auto_explain/t/001_auto_explain.pl
+++ b/contrib/auto_explain/t/001_auto_explain.pl
@@ -28,7 +28,7 @@ sub query_log
}
my $node = PostgreSQL::Test::Cluster->new('main');
-$node->init('auth_extra' => [ '--create-role' => 'regress_user1' ]);
+$node->init(auth_extra => [ '--create-role' => 'regress_user1' ]);
$node->append_conf('postgresql.conf',
"session_preload_libraries = 'auto_explain'");
$node->append_conf('postgresql.conf', "auto_explain.log_min_duration = 0");