Re: Skipping schema changes in publication
Dilip Kumar <dilipbalaut@gmail.com>
From: Dilip Kumar <dilipbalaut@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Shlok Kyal <shlok.kyal.oss@gmail.com>,
shveta malik <shveta.malik@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-20T05:16:02Z
Lists: pgsql-hackers
On Thu, Feb 19, 2026 at 5:54 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > On Thu, Feb 19, 2026 at 4:08 PM Dilip Kumar <dilipbalaut@gmail.com> wrote: > > > > 3. Question, what would be the behavior of > > pg_get_publication_tables(), if we have created PUBLICATION FOR ALL > > TABLES with EXCEPT, I assume it will give all table even in the EXCEPT > > list > > > > No, it won't return the tables mentioned in the except list and I > think that is what we expect from this function. Yeah logically that makes sense, I got confused because of the another function with name 'pg_get_publication_effective_tables' > > as we have another function to get effective tables i.e. > > pg_get_publication_effective_tables(), > > > > This function is for a different purpose and I think its name can be > improved, how about pg_get_publication_partitions() or something on > those lines? I think the current name is confusing, not sure about what would be a better name, IMHO pg_get_publication_partitions() is not confusing at least. And also ,regarding the naming of is_relid_excepted() and is_relid_or_ancestor_excepted(), although they accurately reflect the EXCEPT keyword, "excepted" feels a bit awkward in code. I'd suggest changing these to is_relid_excluded() and is_relid_or_ancestor_excluded() for better readability. But if others think excepted also looks fine and it's just me who doesn't like it then feel free to ignore this suggestion. -- 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