$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,
$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.
'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',
],