File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1451,9 +1451,6 @@ def test_set_auto_conf(self):
1451
1451
["archive_command" ,
1452
1452
"cp '%p' \" /mnt/server/archivedir/%f\" " ,
1453
1453
"'cp \\ '%p\\ ' \" /mnt/server/archivedir/%f\" " ],
1454
- ["restore_command" ,
1455
- 'cp "/mnt/server/archivedir/%f" \' %p\' ' ,
1456
- "'cp \" /mnt/server/archivedir/%f\" \\ '%p\\ ''" ],
1457
1454
["log_line_prefix" ,
1458
1455
"'\n \r \t \b \\ \" " ,
1459
1456
"'\\ \' \\ n\\ r\\ t\\ b\\ \\ \" " ],
@@ -1467,6 +1464,10 @@ def test_set_auto_conf(self):
1467
1464
3 ,
1468
1465
"3" ]
1469
1466
]
1467
+ if pg_version_ge ('12' ):
1468
+ testData .append (["restore_command" ,
1469
+ 'cp "/mnt/server/archivedir/%f" \' %p\' ' ,
1470
+ "'cp \" /mnt/server/archivedir/%f\" \\ '%p\\ ''" ])
1470
1471
1471
1472
with get_new_node () as node :
1472
1473
node .init ().start ()
You can’t perform that action at this time.
0 commit comments