Support adding partitioned tables to publication

Peter Eisentraut <peter@eisentraut.org>

Commit: 17b9e7f9fe238eeb5f6b40061b444ebf28d9e06f
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2020-03-10T08:09:32Z
Releases: 13.0
Support adding partitioned tables to publication

When a partitioned table is added to a publication, changes of all of
its partitions (current or future) are published via that publication.

This change only affects which tables a publication considers as its
members.  The receiving side still sees the data coming from the
individual leaf partitions.  So existing restrictions that partition
hierarchies can only be replicated one-to-one are not changed by this.

Author: Amit Langote <amitlangote09@gmail.com>
Reviewed-by: Rafia Sabih <rafia.pghackers@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Discussion: https://www.postgresql.org/message-id/flat/CA+HiwqH=Y85vRK3mOdjEkqFK+E=ST=eQiHdpj43L=_eJMOOznQ@mail.gmail.com

Files

Documentation touched

Discussion