File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4040 MAX_REPLICATION_SLOTS , \
4141 MAX_WORKER_PROCESSES , \
4242 MAX_WAL_SENDERS , \
43- WAL_KEEP_SEGMENTS
43+ WAL_KEEP_SEGMENTS , \
44+ WAL_KEEP_SIZE
4445
4546from .decorators import \
4647 method_decorator , \
@@ -525,8 +526,8 @@ def get_auth_method(t):
525526 wal_level = wal_level ) # yapf: disable
526527 else :
527528 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
530531
531532 # logical replication
532533 if allow_logical :
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def execute_utility(args, logfile=None):
7979
8080 if out :
8181 # comment-out lines
82- lines = ('# ' + l for l in out .splitlines (True ))
82+ lines = ('# ' + line for line in out .splitlines (True ))
8383 file_out .write (u'\n ' )
8484 file_out .writelines (lines )
8585
You can’t perform that action at this time.
0 commit comments