File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 2929 - TEST_PLATFORM=std PYTHON_VERSION=3 PG_VERSION=10
3030 - TEST_PLATFORM=std.all PYTHON_VERSION=3 PG_VERSION=17
3131 - TEST_PLATFORM=ubuntu-24_04 PYTHON_VERSION=3 PG_VERSION=17
32-
33- matrix :
34- allow_failures :
35- - env : TEST_PLATFORM=std PYTHON_VERSION=3 PG_VERSION=11
36- - env : TEST_PLATFORM=std PYTHON_VERSION=3 PG_VERSION=10
Original file line number Diff line number Diff line change @@ -1464,9 +1464,6 @@ def test_set_auto_conf(self):
14641464 ["archive_command" ,
14651465 "cp '%p' \" /mnt/server/archivedir/%f\" " ,
14661466 "'cp \\ '%p\\ ' \" /mnt/server/archivedir/%f\" " ],
1467- ["restore_command" ,
1468- 'cp "/mnt/server/archivedir/%f" \' %p\' ' ,
1469- "'cp \" /mnt/server/archivedir/%f\" \\ '%p\\ ''" ],
14701467 ["log_line_prefix" ,
14711468 "'\n \r \t \b \\ \" " ,
14721469 "'\\ \' \\ n\\ r\\ t\\ b\\ \\ \" " ],
@@ -1480,6 +1477,10 @@ def test_set_auto_conf(self):
14801477 3 ,
14811478 "3" ]
14821479 ]
1480+ if pg_version_ge ('12' ):
1481+ testData .append (["restore_command" ,
1482+ 'cp "/mnt/server/archivedir/%f" \' %p\' ' ,
1483+ "'cp \" /mnt/server/archivedir/%f\" \\ '%p\\ ''" ])
14831484
14841485 with get_new_node () as node :
14851486 node .init ().start ()
You can’t perform that action at this time.
0 commit comments