Skip to content

Commit e8eb987

Browse files
committed
Apply some fat commas to commands of TAP tests
This is similar to 19c6e92, in order to keep the style used in the scripts consistent for the option names and values used in commands. The places updated in this commit have been added recently in 71ea0d6. These changes are cosmetic; there is no need for a backpatch.
1 parent b5d87a8 commit e8eb987

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/bin/pg_combinebackup/t/002_compare_backups.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
$pitr1->command_ok(
175175
[
176176
'pg_dumpall',
177-
'--restrict-key=test',
177+
'--restrict-key' => 'test',
178178
'--no-sync',
179179
'--no-unlogged-table-data',
180180
'--file' => $dump1,
@@ -184,7 +184,7 @@
184184
$pitr2->command_ok(
185185
[
186186
'pg_dumpall',
187-
'--restrict-key=test',
187+
'--restrict-key' => 'test',
188188
'--no-sync',
189189
'--no-unlogged-table-data',
190190
'--file' => $dump2,

src/bin/pg_upgrade/t/002_pg_upgrade.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ sub get_dump_for_comparison
8686
$node->run_log(
8787
[
8888
'pg_dump', '--no-sync',
89-
'--restrict-key=test',
89+
'--restrict-key' => 'test',
9090
'-d' => $node->connstr($db),
9191
'-f' => $dumpfile
9292
]);
@@ -428,7 +428,7 @@ sub get_dump_for_comparison
428428
# that we need to use pg_dumpall from the new node here.
429429
my @dump_command = (
430430
'pg_dumpall', '--no-sync',
431-
'--restrict-key=test',
431+
'--restrict-key' => 'test',
432432
'--dbname' => $oldnode->connstr('postgres'),
433433
'--file' => $dump1_file);
434434
# --extra-float-digits is needed when upgrading from a version older than 11.
@@ -626,7 +626,7 @@ sub get_dump_for_comparison
626626
# Second dump from the upgraded instance.
627627
@dump_command = (
628628
'pg_dumpall', '--no-sync',
629-
'--restrict-key=test',
629+
'--restrict-key' => 'test',
630630
'--dbname' => $newnode->connstr('postgres'),
631631
'--file' => $dump2_file);
632632
# --extra-float-digits is needed when upgrading from a version older than 11.

src/test/recovery/t/027_stream_regress.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
'pg_dumpall',
118118
'--file' => $outputdir . '/primary.dump',
119119
'--no-sync', '--no-statistics',
120-
'--restrict-key=test',
120+
'--restrict-key' => 'test',
121121
'--port' => $node_primary->port,
122122
'--no-unlogged-table-data', # if unlogged, standby has schema only
123123
],
@@ -127,7 +127,7 @@
127127
'pg_dumpall',
128128
'--file' => $outputdir . '/standby.dump',
129129
'--no-sync', '--no-statistics',
130-
'--restrict-key=test',
130+
'--restrict-key' => 'test',
131131
'--port' => $node_standby_1->port,
132132
],
133133
'dump standby server');
@@ -147,7 +147,7 @@
147147
'--schema' => 'pg_catalog',
148148
'--file' => $outputdir . '/catalogs_primary.dump',
149149
'--no-sync',
150-
'--restrict-key=test',
150+
'--restrict-key' => 'test',
151151
'--port', $node_primary->port,
152152
'--no-unlogged-table-data',
153153
'regression',
@@ -159,7 +159,7 @@
159159
'--schema' => 'pg_catalog',
160160
'--file' => $outputdir . '/catalogs_standby.dump',
161161
'--no-sync',
162-
'--restrict-key=test',
162+
'--restrict-key' => 'test',
163163
'--port' => $node_standby_1->port,
164164
'regression',
165165
],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy