Re: Logical replication and inheritance

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Logical replication and inheritance
Дата
Msg-id 0435c691-367a-292f-7bd7-84d7cd2970cc@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Logical replication and inheritance  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список pgsql-hackers
After thinking about it some more, I think the behavior we want would be
that changes to inheritance would reflect in the publication membership.So if you have a partitioned table, adding more
partitionsover time
 
would automatically add them to the publication.

We could implement this either by updating pg_publication_rel as
inheritance changes, or perhaps more easily by checking and expanding
inheritance in the output plugin/walsender.  There might be subtle
behavioral differences between those two approaches that we should think
through.  But I think one of these two should be done.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Ronan Dunklau
Дата:
Сообщение: Re: [Proposal] Make the optimiser aware of partitions ordering
Следующее
От: Vitaly Burovoy
Дата:
Сообщение: Re: identity columns