index 9c7fe56cb7c72bc833ba8f207556d9c96dfa49d6..a3e29c055091e2a8d44117456bcd2f77df0ffb21 100644 (file)
$pitr1->command_ok(
[
'pg_dumpall',
- '--restrict-key=test',
+ '--restrict-key' => 'test',
'--no-sync',
'--no-unlogged-table-data',
'--file' => $dump1,
$pitr2->command_ok(
[
'pg_dumpall',
- '--restrict-key=test',
+ '--restrict-key' => 'test',
'--no-sync',
'--no-unlogged-table-data',
'--file' => $dump2,
index 4b5e895809b409958f04c15859b532eeb853ae48..823f41e754ced43859ccffddc62bf1d6fb77902a 100644 (file)
$node->run_log(
[
'pg_dump', '--no-sync',
- '--restrict-key=test',
+ '--restrict-key' => 'test',
'-d' => $node->connstr($db),
'-f' => $dumpfile
]);
# 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.
# 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.
index 12d8852fb4b3db0989e99a3ec2ad6a1c00e6ee6b..589c79d97d3a93e683170435621f52e0456f8afb 100644 (file)
'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
],
'pg_dumpall',
'--file' => $outputdir . '/standby.dump',
'--no-sync', '--no-statistics',
- '--restrict-key=test',
+ '--restrict-key' => 'test',
'--port' => $node_standby_1->port,
],
'dump standby server');
'--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',
'--schema' => 'pg_catalog',
'--file' => $outputdir . '/catalogs_standby.dump',
'--no-sync',
- '--restrict-key=test',
+ '--restrict-key' => 'test',
'--port' => $node_standby_1->port,
'regression',
],