Added missing invalidations for all tables publication
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-08-30T17:09:59Z
Lists: pgsql-hackers
Attachments
- v1-0001-Added-missing-invalidations-for-all-tables-public.patch (text/x-patch) patch v1-0001
Hi, Relation invalidation was missing in case of create publication and drop publication of "FOR ALL TABLES" publication, added so that the publication information can be rebuilt. Without these invalidation update/delete operations on the relation will be successful in the publisher which will later result in conflict in the subscriber. Thanks to Amit for identifying the issue at [1]. Attached patch has the fix for the same. Thoughts? [1] - https://www.postgresql.org/message-id/CAA4eK1LtTXMqu-UbcByjHw%2BaKP38t4%2Br7kyKnmBQMA-__9U52A%40mail.gmail.com Regards, Vignesh
Commits
-
Invalidate relcache for publications defined for all tables.
- 2eb09f27db6c 12.9 landed
- ddfc7299d0a3 13.5 landed
- 8db27fbc1197 14.0 landed
- 8bd534274099 15.0 landed
- 28cde380c1c0 10.19 landed
- 96e38fa5e549 11.14 landed