8000 Logical replication support by zilder · Pull Request #42 · postgrespro/testgres · GitHub
[go: up one dir, main page]

Skip to content

Logical replication support #42

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 16 commits into from
Jun 1, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter 8000

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
Prev Previous commit
change safe_psql() call to execute() in pubsub.py
  • Loading branch information
zilder committed Jun 1, 2018
commit 50e02ffe6100e0916fb239fbb55c59684c72fe8a
2 changes: 1 addition & 1 deletion testgres/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
... replica.catchup() # wait until changes are visible
... print(replica.execute('postgres', 'select count(*) from test'))
PostgresNode(name='...', port=..., base_dir='...')
[(3L,)]
[(3,)]
"""
from .node import PostgresNode

Expand Down
2 changes: 1 addition & 1 deletion testgres/pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def drop(self, dbname=None, username=None):
"""
Drop publication
"""
self.node.safe_psql(
self.node.execute(
"drop publication {}".format(self.name),
dbname=dbname,
username=username)
Expand Down
0