Thanks to visit codestin.com
Credit goes to github.com

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
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix logical replication for python3
  • Loading branch information
zilder committed Mar 16, 2018
commit 782484b971ed5ab94e03dd0ba4bc3224a0636d5d
4 changes: 2 additions & 2 deletions testgres/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8

from six import raise_from
from six import raise_from, iteritems

from .defaults import default_dbname, default_username
from .exceptions import CatchUpException
Expand Down Expand Up @@ -92,7 +92,7 @@ def __init__(self,

# additional parameters
if kwargs:
params = ','.join('{}={}'.format(k, v) for k, v in kwargs.iteritems())
params = ','.join('{}={}'.format(k, v) for k, v in iteritems(kwargs))
query += " with ({})".format(params)

node.safe_psql(query, dbname=dbname, username=username)
Expand Down