Re: Logical Replication - behavior of ALTER PUBLICATION .. DROP TABLE and ALTER SUBSCRIPTION .. REFRESH PUBLICATION
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: japin <japinli@hotmail.com>, "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-01-23T06:20:12Z
Lists: pgsql-hackers
Attachments
- v6-0001-Fix-ALTER-PUBLICATION.DROP-TABLE-behavior.patch (application/octet-stream) patch v6-0001
On Fri, Jan 22, 2021 at 2:59 PM Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> wrote: > > On Fri, Jan 22, 2021 at 2:00 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > Yes you are right. Looks like the above commit is causing the issue. I > reverted that commit and did not see the drop publication bug, see use > case [1]. > Okay, thanks for confirming the same. I am planning to push the attached where I made changes in few comments, combined the code and test patch, and made a few changes in the commit message. Let me know if you have any suggestions? -- With Regards, Amit Kapila.
Commits
-
Fix ALTER PUBLICATION...DROP TABLE behavior.
- 40ab64c1ec1c 14.0 landed
-
Fix initialization of RelationSyncEntry for streaming transactions.
- 69bd60672af6 14.0 cited