File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 40
40
MAX_REPLICATION_SLOTS , \
41
41
MAX_WORKER_PROCESSES , \
42
42
MAX_WAL_SENDERS , \
43
- WAL_KEEP_SEGMENTS
43
+ WAL_KEEP_SEGMENTS , \
44
+ WAL_KEEP_SIZE
44
45
45
46
from .decorators import \
46
47
method_decorator , \
@@ -525,8 +526,8 @@ def get_auth_method(t):
525
526
wal_level = wal_level ) # yapf: disable
526
527
else :
527
528
self .append_conf (hot_standby = True ,
528
- wal_keep_size = WAL_KEEP_SIZE ,
529
- wal_level = wal_level ) # yapf: disable
529
+ wal_keep_size = WAL_KEEP_SIZE ,
530
+ wal_level = wal_level ) # yapf: disable
530
531
531
532
# logical replication
532
533
if allow_logical :
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def execute_utility(args, logfile=None):
79
79
80
80
if out :
81
81
# comment-out lines
82
- lines = ('# ' + l for l in out .splitlines (True ))
82
+ lines = ('# ' + line for line in out .splitlines (True ))
83
83
file_out .write (u'\n ' )
84
84
file_out .writelines (lines )
85
85
You can’t perform that action at this time.
0 commit comments