Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Support rel13 #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions testgres/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
MAX_REPLICATION_SLOTS, \
MAX_WORKER_PROCESSES, \
MAX_WAL_SENDERS, \
WAL_KEEP_SEGMENTS
WAL_KEEP_SEGMENTS, \
WAL_KEEP_SIZE

from .decorators import \
method_decorator, \
Expand Down Expand Up @@ -525,8 +526,8 @@ def get_auth_method(t):
wal_level=wal_level) # yapf: disable
else:
self.append_conf(hot_standby=True,
wal_keep_size=WAL_KEEP_SIZE,
wal_level=wal_level) # yapf: disable
wal_keep_size=WAL_KEEP_SIZE,
wal_level=wal_level) # yapf: disable

# logical replication
if allow_logical:
Expand Down
2 changes: 1 addition & 1 deletion testgres/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def execute_utility(args, logfile=None):

if out:
# comment-out lines
lines = ('# ' + l for l in out.splitlines(True))
lines = ('# ' + line for line in out.splitlines(True))
file_out.write(u'\n')
file_out.writelines(lines)

Expand Down