aboutsummaryrefslogtreecommitdiff
path: root/contrib/basebackup_to_shell/t
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-03-17 14:07:12 +0900
committerMichael Paquier <michael@paquier.xyz>2025-03-17 14:07:12 +0900
commit3943f5cff6a66639d295a6f1922e54b79d2ab16f (patch)
tree6152a13d5e0f612e2edb2589a6dcad14d6ce62ee /contrib/basebackup_to_shell/t
parent19c6e92b13b2336d1db1b236457ab15d0894b506 (diff)
downloadpostgresql-3943f5cff6a66639d295a6f1922e54b79d2ab16f.tar.gz
postgresql-3943f5cff6a66639d295a6f1922e54b79d2ab16f.zip
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/basebackup_to_shell/t')
-rw-r--r--contrib/basebackup_to_shell/t/001_basic.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/basebackup_to_shell/t/001_basic.pl b/contrib/basebackup_to_shell/t/001_basic.pl
index 3ee4603bd3a..4d540147a6d 100644
--- a/contrib/basebackup_to_shell/t/001_basic.pl
+++ b/contrib/basebackup_to_shell/t/001_basic.pl
@@ -24,8 +24,8 @@ my $node = PostgreSQL::Test::Cluster->new('primary');
# Make sure pg_hba.conf is set up to allow connections from backupuser.
# This is only needed on Windows machines that don't use UNIX sockets.
$node->init(
- 'allows_streaming' => 1,
- 'auth_extra' => [ '--create-role' => 'backupuser' ]);
+ allows_streaming => 1,
+ auth_extra => [ '--create-role' => 'backupuser' ]);
$node->append_conf('postgresql.conf',
"shared_preload_libraries = 'basebackup_to_shell'");