Re: Added schema level support for publication.
Greg Nancarrow <gregn4422@gmail.com>
From: Greg Nancarrow <gregn4422@gmail.com>
To: "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
Cc: vignesh C <vignesh21@gmail.com>, Rahila Syed <rahilasyed90@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Ajin Cherian <itsajin@gmail.com>, "tanghy.fnst@fujitsu.com" <tanghy.fnst@fujitsu.com>
Date: 2021-07-09T06:42:42Z
Lists: pgsql-hackers
On Fri, Jul 9, 2021 at 1:28 PM houzj.fnst@fujitsu.com <houzj.fnst@fujitsu.com> wrote: > > Currently, postgres caches publication actions info in the > RelationData::rd_pubactions, but after applying the patch, it seems > rd_pubactions is not initialized when using schema level publication. > > It cound result in some unexpected behaviour when checking if command can be > executed with current replica identity. > While testing this patch, I'm finding that for a FOR SCHEMA publication, UPDATEs and DELETEs on tables belonging to that schema are not getting replicated (but INSERTs and TRUNCATEs are). Could this be related to the issues that Hou-san has identified? Regards, Greg Nancarrow Fujitsu Australia
Commits
-
Include schema/table publications even with exclude options in dump.
- 4aa6fa3cd0a2 18.0 landed
-
Rename some enums to use TABLE instead of REL.
- b3812d0b9bcf 15.0 landed
-
Add tap tests for the schema publications.
- 6b0f6f79eef2 15.0 landed
-
Allow publishing the tables of schema.
- 5a2832465fd8 15.0 landed
-
In pg_dump, use simplehash.h to look up dumpable objects by OID.
- 92316a4582a5 15.0 cited