Skip to content

Commit 3be3760

Browse files
authored
Merge pull request #56 from postgrespro/support_rel13
Add PostgreSQL 13 support. Fix tests
2 parents 3124b0f + d65ab69 commit 3be3760

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

testgres/node.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
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

4546
from .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:

testgres/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy