From: yxq <yxq@o2.pl>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Odp: Re: [BUGS] BUG #14785: Logical replication does not work after adding a column. Bug?
Date: Tue, 22 Aug 2017 22:54:17 +0200
Message-ID: <8950ca33bcb04873991340938e88ab67@grupawp.pl> (raw)
In-Reply-To: <20170822193418.drjntpluvcidfqyf@alap3.anarazel.de>
References: <20170822193418.drjntpluvcidfqyf@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Dnia 22 sierpnia 2017 21:34 Andres Freund <andres@anarazel.de> napisaĆ(a): Hi, On 2017-08-22 15:22:41 -0400, Peter Eisentraut wrote: When you add a column on the publication side, you also need to add it on the subscription side, otherwise there is nowhere to put the data. Op's sql shows that that's done. The problem is the table rewrite not being handled nicely by logical decoding / replication. - Andres Yes, I added the column first to the Slave, then added to the Master. I also checked the reverse case: I added the column first to the Master, then added to the Slave. The problem is the same. yxq
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: yxq@o2.pl
Subject: Re: [BUGS] BUG #14785: Logical replication does not work after adding a column. Bug?
In-Reply-To: <8950ca33bcb04873991340938e88ab67@grupawp.pl>
References: <20170822193418.drjntpluvcidfqyf@alap3.anarazel.de> <8950ca33bcb04873991340938e88ab67@grupawp.pl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox