mirror of
https://github.com/postgres/postgres.git
synced 2025-12-03 00:03:16 -05:00
Apply some fat commas to commands of TAP tests
This is similar to 19c6e92b13b2, 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 71ea0d679543. These changes are cosmetic; there is no need for a backpatch.
This commit is contained in:
parent
b5d87a823f
commit
e8eb98754b
@ -174,7 +174,7 @@ my $dump2 = $backupdir . '/pitr2.dump';
|
||||
$pitr1->command_ok(
|
||||
[
|
||||
'pg_dumpall',
|
||||
'--restrict-key=test',
|
||||
'--restrict-key' => 'test',
|
||||
'--no-sync',
|
||||
'--no-unlogged-table-data',
|
||||
'--file' => $dump1,
|
||||
@ -184,7 +184,7 @@ $pitr1->command_ok(
|
||||
$pitr2->command_ok(
|
||||
[
|
||||
'pg_dumpall',
|
||||
'--restrict-key=test',
|
||||
'--restrict-key' => 'test',
|
||||
'--no-sync',
|
||||
'--no-unlogged-table-data',
|
||||
'--file' => $dump2,
|
||||
|
||||
@ -86,7 +86,7 @@ sub get_dump_for_comparison
|
||||
$node->run_log(
|
||||
[
|
||||
'pg_dump', '--no-sync',
|
||||
'--restrict-key=test',
|
||||
'--restrict-key' => 'test',
|
||||
'-d' => $node->connstr($db),
|
||||
'-f' => $dumpfile
|
||||
]);
|
||||
@ -428,7 +428,7 @@ SKIP:
|
||||
# that we need to use pg_dumpall from the new node here.
|
||||
my @dump_command = (
|
||||
'pg_dumpall', '--no-sync',
|
||||
'--restrict-key=test',
|
||||
'--restrict-key' => 'test',
|
||||
'--dbname' => $oldnode->connstr('postgres'),
|
||||
'--file' => $dump1_file);
|
||||
# --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.
|
||||
@dump_command = (
|
||||
'pg_dumpall', '--no-sync',
|
||||
'--restrict-key=test',
|
||||
'--restrict-key' => 'test',
|
||||
'--dbname' => $newnode->connstr('postgres'),
|
||||
'--file' => $dump2_file);
|
||||
# --extra-float-digits is needed when upgrading from a version older than 11.
|
||||
|
||||
@ -117,7 +117,7 @@ command_ok(
|
||||
'pg_dumpall',
|
||||
'--file' => $outputdir . '/primary.dump',
|
||||
'--no-sync', '--no-statistics',
|
||||
'--restrict-key=test',
|
||||
'--restrict-key' => 'test',
|
||||
'--port' => $node_primary->port,
|
||||
'--no-unlogged-table-data', # if unlogged, standby has schema only
|
||||
],
|
||||
@ -127,7 +127,7 @@ command_ok(
|
||||
'pg_dumpall',
|
||||
'--file' => $outputdir . '/standby.dump',
|
||||
'--no-sync', '--no-statistics',
|
||||
'--restrict-key=test',
|
||||
'--restrict-key' => 'test',
|
||||
'--port' => $node_standby_1->port,
|
||||
],
|
||||
'dump standby server');
|
||||
@ -147,7 +147,7 @@ command_ok(
|
||||
'--schema' => 'pg_catalog',
|
||||
'--file' => $outputdir . '/catalogs_primary.dump',
|
||||
'--no-sync',
|
||||
'--restrict-key=test',
|
||||
'--restrict-key' => 'test',
|
||||
'--port', $node_primary->port,
|
||||
'--no-unlogged-table-data',
|
||||
'regression',
|
||||
@ -159,7 +159,7 @@ command_ok(
|
||||
'--schema' => 'pg_catalog',
|
||||
'--file' => $outputdir . '/catalogs_standby.dump',
|
||||
'--no-sync',
|
||||
'--restrict-key=test',
|
||||
'--restrict-key' => 'test',
|
||||
'--port' => $node_standby_1->port,
|
||||
'regression',
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user