mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 10:23:43 +03:00
Fix logical decoding plugin options adaptation on python3
This commit is contained in:
parent
453830f80c
commit
1ac385d1fb
|
@ -569,7 +569,7 @@ class ReplicationCursor(_cursor):
|
|||
for k,v in options.iteritems():
|
||||
if not command.endswith('('):
|
||||
command += ", "
|
||||
command += "%s %s" % (self.quote_ident(k), _A(str(v)).getquoted())
|
||||
command += "%s %s" % (self.quote_ident(k), _A(str(v)))
|
||||
command += ")"
|
||||
|
||||
return self.start_replication_expert(o, command, keepalive_interval)
|
||||
|
|
Loading…
Reference in New Issue
Block a user