This patch is fixing similar problem reported in Logical replication also by another user.
Message: 20170524173644.1440.53...@wrigleys.postgresql.org <https://www.postgresql.org/message-id/20170524173644.1440.53348%40wrigleys.postgresql.org> Bug reference: 14669 Logged by: Igor Neyman Email address: ineyman(at)perceptron(dot)com PostgreSQL version: 10beta1 Operating system: Windows Regards, Jobin.