Re: BUG #14719: Logical replication unexpected behaviour when target table has missing columns

From: Martin Garton <garton(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14719: Logical replication unexpected behaviour when target table has missing columns
Date: 2017-06-27 19:52:49
Message-ID: CABsuOLO9VTu7FDVAPps3mzXq6CwHpSE0h5XpTCLEmNJc4q=MxA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks, you are right of course. Sorry for the nouse. (I'll now go back
to trying to understand how to operate a logical replication cluster
properly.)

On 27 June 2017 at 16:33, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> garton(at)gmail(dot)com writes:
> > The documentation states:
>
> > "The target table can have additional columns not provided by the
> published
> > table. Those will be filled with their default values."
>
> > However, when I added a column on the source database, the target began
> to
> > error:
>
> > ERROR: logical replication target relation "public.foo" is missing some
> > replicated columns
>
> > This seems to contradict the documentation.
>
> Um, by my reading, what that paragraph is describing is the opposite case.
> It says you can add extra columns to the target table, not the source one.
>
> regards, tom lane
>

--
Martin Garton.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-06-27 20:16:53 Re: BUG #14720: getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol
Previous Message Alvaro Herrera 2017-06-27 19:17:32 Re: BUG #14720: getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol