Re: Understanding conflicts on publications and subscriptions - Mailing list pgsql-general

From David G. Johnston
Subject Re: Understanding conflicts on publications and subscriptions
Date
Msg-id CAKFQuwYQB+yCxwEpv7zHekH8y9wmW+Oe+DN2Ly3vZwg=+F5cwA@mail.gmail.com
Whole thread Raw
In response to Re: Understanding conflicts on publications and subscriptions  (Koen De Groote <kdg.dev@gmail.com>)
Responses Re: Understanding conflicts on publications and subscriptions
List pgsql-general
On Tue, Jul 30, 2024 at 7:16 AM Koen De Groote <kdg.dev@gmail.com> wrote:
 And if my understanding is correct: if a table doesn't have a replica identity, any UPDATE or DELETE statement that happens on the publisher, for that table, will be refused.


That is how I read the sentence "Otherwise those operations will be disallowed on those tables."

Upon adding said table to a publication, future attempts to run updates and deletes will result in failures in the transactions performing said DML.

Feel free to experiment that the behavior indeed matches the wording in the documentation.

David J.

pgsql-general by date:

Previous
From: Koen De Groote
Date:
Subject: Re: Understanding conflicts on publications and subscriptions
Next
From: sud
Date:
Subject: Trigger usecase