Re: BUG #18644: ALTER PUBLICATION ... SET (publish_via_partition_root) wrong/undocumented behavior.
Maxim Boguk <maxim.boguk@gmail.com>
From: Maxim Boguk <maxim.boguk@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>,
vignesh C <vignesh21@gmail.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2024-10-14T12:33:03Z
Lists: pgsql-bugs
> + <para> > + To prevent the issue, you can avoid modifying the partitioned table > + between the <command>ALTER PUBLICATION ... SET</command> and > > Can't the problem happen when any of the leaf tables are modified? If > so, that is not clear from the above statement. Problem also happens if publication is created via FOR ALL TABLES / FOR TABLES IN SCHEMA (without directly including partition head into publication). I have a suspicion that including partition head (directly or via FOR ALL TABLES) into the initial publication - really required to get a problem. What is expected behavior in case when only partitions are included into publication/subscription set, but partition head isn't included and publish_via_partition_root='true' executed? -- Maxim Boguk Senior Postgresql DBA Phone UA: +380 99 143 0000 Phone AU: +61 45 218 5678
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Doc: Add a caution in alter publication.
- b8a046081c43 18.0 landed