Re: Skipping schema changes in publication
Dilip Kumar <dilipbalaut@gmail.com>
From: Dilip Kumar <dilipbalaut@gmail.com>
To: shveta malik <shveta.malik@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>,
Shlok Kyal <shlok.kyal.oss@gmail.com>, Ashutosh Sharma <ashu.coek88@gmail.com>, vignesh C <vignesh21@gmail.com>, "David G. Johnston" <david.g.johnston@gmail.com>,
Peter Smith <smithpb2250@gmail.com>, "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>, YeXiu <1518981153@qq.com>, Ian Lawrence Barwick <barwick@gmail.com>, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-26T04:14:47Z
Lists: pgsql-hackers
On Wed, Feb 25, 2026 at 4:01 PM shveta malik <shveta.malik@gmail.com> wrote: > > On Mon, Feb 23, 2026 at 4:46 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > > > On Mon, Feb 23, 2026 at 11:37 AM Shlok Kyal <shlok.kyal.oss@gmail.com> wrote: > > > > > > I have also modified the error message as suggested by Shveta in [2]. > > > Attached the latest v48 patch. > > > > > > > I see that the second patch (0002) brings complexity in the patch to > > deal with following points: (a) The first complexity is if one of the > > partitions is specified then how to compute the initial set of > > relations to copy when pubviaroot is true. This is complex because we > > need to exclude the partitions specified. (b) The other complexity is > > combining Except list containing partitions and other publications > > specifying partitions or partitioned tables both during replication > > and probably during initial sync. > > > > I think it will be better if for the first version, we allow only root > > partitioned table to be specified in the Except Table list. This would > > mean that if the user tries to attach that root partition table to > > another root then we should give an error. If we go via this route, it > > will be important to allow users to remove some tables from the Except > > list, so we can provide Alter Publication <pub_name> Set Except Table > > (table_names). > > > > I think excluding specific partitions may also have some use cases but > > adding additional complexity and maintenance effort is worth, if there > > is a real field demand for such a feature. > > > > Thoughts? > > > > I fully agree. The additional complexity does not appear to be worth > the value right now, unless we receive meaningful user feedback that > justifies implementing it. > I’m on the same page. The benefit probably doesn't justify the added complexity and the long-term code maintenance overhead this would introduce. -- Regards, Dilip Kumar Google
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix miscellaneous issues in EXCEPT publication clause.
- 6b0550c45d13 19 (unreleased) landed
-
Change syntax of EXCEPT TABLE clause in publication commands.
- 5984ea868eee 19 (unreleased) landed
-
Add support for EXCEPT TABLE in ALTER PUBLICATION.
- 493f8c6439cf 19 (unreleased) landed
-
Allow table exclusions in publications via EXCEPT TABLE.
- fd366065e06a 19 (unreleased) landed
-
Add wait_for_subscription_sync for TAP tests.
- 0c20dd33db16 16.0 cited