Apply some fat commas to commands of TAP tests

This is similar to 19c6e92b13, 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
71ea0d6795.

These changes are cosmetic; there is no need for a backpatch.
master
Michael Paquier 3 weeks ago
parent b5d87a823f
commit e8eb98754b
  1. 4
      src/bin/pg_combinebackup/t/002_compare_backups.pl
  2. 6
      src/bin/pg_upgrade/t/002_pg_upgrade.pl
  3. 8
      src/test/recovery/t/027_stream_regress.pl

@ -174,7 +174,7 @@ my $dump2 = $backupdir . '/pitr2.dump';
$pitr1->command_ok( $pitr1->command_ok(
[ [
'pg_dumpall', 'pg_dumpall',
'--restrict-key=test', '--restrict-key' => 'test',
'--no-sync', '--no-sync',
'--no-unlogged-table-data', '--no-unlogged-table-data',
'--file' => $dump1, '--file' => $dump1,
@ -184,7 +184,7 @@ $pitr1->command_ok(
$pitr2->command_ok( $pitr2->command_ok(
[ [
'pg_dumpall', 'pg_dumpall',
'--restrict-key=test', '--restrict-key' => 'test',
'--no-sync', '--no-sync',
'--no-unlogged-table-data', '--no-unlogged-table-data',
'--file' => $dump2, '--file' => $dump2,

@ -86,7 +86,7 @@ sub get_dump_for_comparison
$node->run_log( $node->run_log(
[ [
'pg_dump', '--no-sync', 'pg_dump', '--no-sync',
'--restrict-key=test', '--restrict-key' => 'test',
'-d' => $node->connstr($db), '-d' => $node->connstr($db),
'-f' => $dumpfile '-f' => $dumpfile
]); ]);
@ -428,7 +428,7 @@ SKIP:
# that we need to use pg_dumpall from the new node here. # that we need to use pg_dumpall from the new node here.
my @dump_command = ( my @dump_command = (
'pg_dumpall', '--no-sync', 'pg_dumpall', '--no-sync',
'--restrict-key=test', '--restrict-key' => 'test',
'--dbname' => $oldnode->connstr('postgres'), '--dbname' => $oldnode->connstr('postgres'),
'--file' => $dump1_file); '--file' => $dump1_file);
# --extra-float-digits is needed when upgrading from a version older than 11. # --extra-float-digits is needed when upgrading from a version older than 11.
@ -626,7 +626,7 @@ is( $result,
# Second dump from the upgraded instance. # Second dump from the upgraded instance.
@dump_command = ( @dump_command = (
'pg_dumpall', '--no-sync', 'pg_dumpall', '--no-sync',
'--restrict-key=test', '--restrict-key' => 'test',
'--dbname' => $newnode->connstr('postgres'), '--dbname' => $newnode->connstr('postgres'),
'--file' => $dump2_file); '--file' => $dump2_file);
# --extra-float-digits is needed when upgrading from a version older than 11. # --extra-float-digits is needed when upgrading from a version older than 11.

@ -117,7 +117,7 @@ command_ok(
'pg_dumpall', 'pg_dumpall',
'--file' => $outputdir . '/primary.dump', '--file' => $outputdir . '/primary.dump',
'--no-sync', '--no-statistics', '--no-sync', '--no-statistics',
'--restrict-key=test', '--restrict-key' => 'test',
'--port' => $node_primary->port, '--port' => $node_primary->port,
'--no-unlogged-table-data', # if unlogged, standby has schema only '--no-unlogged-table-data', # if unlogged, standby has schema only
], ],
@ -127,7 +127,7 @@ command_ok(
'pg_dumpall', 'pg_dumpall',
'--file' => $outputdir . '/standby.dump', '--file' => $outputdir . '/standby.dump',
'--no-sync', '--no-statistics', '--no-sync', '--no-statistics',
'--restrict-key=test', '--restrict-key' => 'test',
'--port' => $node_standby_1->port, '--port' => $node_standby_1->port,
], ],
'dump standby server'); 'dump standby server');
@ -147,7 +147,7 @@ command_ok(
'--schema' => 'pg_catalog', '--schema' => 'pg_catalog',
'--file' => $outputdir . '/catalogs_primary.dump', '--file' => $outputdir . '/catalogs_primary.dump',
'--no-sync', '--no-sync',
'--restrict-key=test', '--restrict-key' => 'test',
'--port', $node_primary->port, '--port', $node_primary->port,
'--no-unlogged-table-data', '--no-unlogged-table-data',
'regression', 'regression',
@ -159,7 +159,7 @@ command_ok(
'--schema' => 'pg_catalog', '--schema' => 'pg_catalog',
'--file' => $outputdir . '/catalogs_standby.dump', '--file' => $outputdir . '/catalogs_standby.dump',
'--no-sync', '--no-sync',
'--restrict-key=test', '--restrict-key' => 'test',
'--port' => $node_standby_1->port, '--port' => $node_standby_1->port,
'regression', 'regression',
], ],

Loading…
Cancel
Save