1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-16 17:07:43 +03:00

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.
This commit is contained in:
Michael Paquier
2025-08-21 14:17:26 +09:00
parent b5d87a823f
commit e8eb98754b
3 changed files with 9 additions and 9 deletions

View File

@@ -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,

View File

@@ -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.

View File

@@ -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',
],