Re: logical replication snapshots

Поиск
Список
Период
Сортировка
От Dimitri Maziuk
Тема Re: logical replication snapshots
Дата
Msg-id 1542cf6a-151d-24b6-afc2-b4cee0ae1aa1@bmrb.wisc.edu
обсуждение исходный текст
Ответ на Re: logical replication snapshots  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: logical replication snapshots
Список pgsql-general
On 07/26/2018 05:34 PM, Adrian Klaver wrote:
> On 07/26/2018 03:01 PM, Dimitri Maziuk wrote:

>> Let me ask a different question: if I drop and re-create a published
>> table on the publisher without doing anything to the publication and
>> subscription, what happens?
>
> Take a look at:
>
> https://www.postgresql.org/docs/10/static/sql-alterpublication.html

Thanks but what I ask (and what I suspect happened here while I wasn't
looking) is

- create schema foo with tables bar and baz and some rows in 'em
- create publication foopub with foo.bar and foo.baz
- create subscription to foopub on the other node, initial sync and all
- drop schema foo on the publisher
- create schema foo with tables bar and baz and some rows in 'em

The publication foopub is at this point fubar I take it? And needs to be
re-created on the publisher and reconnected on the subscriber? Complete
with with inital resync?

--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu


Вложения

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: logical replication snapshots
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: logical replication snapshots