Fix logical decoding plugin options adaptation on python3

This commit is contained in:
Oleksandr Shulgin 2015-06-10 13:39:35 +02:00
parent 453830f80c
commit 1ac385d1fb

View File

@ -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)