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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14719: Logical replication unexpected behaviour when target table has missing columns
Дата
Msg-id 29708.1498577635@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [BUGS] BUG #14719: Logical replication unexpected behaviour when targettable has missing columns  (garton@gmail.com)
Ответы Re: [BUGS] BUG #14719: Logical replication unexpected behaviour whentarget table has missing columns  (Martin Garton <garton@gmail.com>)
Список pgsql-bugs
garton@gmail.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: [BUGS] BUG #14719: Logical replication unexpected behaviour whentarget table has missing columns
Следующее
От: lizenko79@gmail.com
Дата:
Сообщение: [BUGS] BUG #14720: getsockopt(TCP_KEEPALIVE) failed: Option not supported byprotocol