On Wed, Jul 14, 2021 at 8:43 PM Alvaro Herrera <alvhe...@alvh.no-ip.org> wrote: > > On 2021-Jul-14, Tomas Vondra wrote: > > > The other question is when to check/enforce this. I guess we'll have to do > > that during decoding, not just when the publication is being created, > > because the user can do ALTER TABLE later. > > ... if you're saying the user can change the replica identity after we > have some publications with filters defined, then I think we should > verify during ALTER TABLE and not allow the change if there's a > publication that requires it. I mean, during decoding we should be able > to simply assume that the tuple is correct for what we need at that > point. >
+1. -- With Regards, Amit Kapila.