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>, "tanghy.fnst@fujitsu.com" <tanghy.fnst@fujitsu.com>,
Masahiko Sawada <sawada.mshk@gmail.com>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>,
Tom Lane <tgl@sss.pgh.pa.us>, Peter Smith <smithpb2250@gmail.com>, Ajin Cherian <itsajin@gmail.com>, Rahila Syed <rahilasyed90@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>
Date: 2021-10-18T04:03:33Z
Lists: pgsql-hackers
On Sat, Oct 16, 2021 at 4:57 PM houzj.fnst@fujitsu.com <houzj.fnst@fujitsu.com> wrote: > > Besides, I found we misunderstood the flag PUBLICATION_PART_ROOT it means: > "ROOT: only the table explicitly mentioned in the publication" We cannot use it > as a flag to judge whether do the partition filtering, I think we need to pass > the actual pubviaroot flag. > I agree, PUBLICATION_PART_ROOT can't be used to determine whether to do partition filtering, the "pubviaroot" flag is needed. > Based on the V40 patchset, attaching the Top-up patch which try to fix the > partition issue in a cleaner way. > A minor thing, in your "top-up patch", the test code added to publication.sql, you need to remove the last "DROP TABLE sch2.tbl1_part1;". It causes an error because the table doesn't exist and it seems to have been erroneously copied from the previous test case. 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