RE: Re-read subscription state after lock in AlterSubscription
Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>
From: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
To: 'Bertrand Drouvot' <bertranddrouvot.pg@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>
Cc: "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>, Dilip Kumar <dilipbalaut@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2026-07-06T02:43:20Z
Lists: pgsql-hackers
Dear Bertrand, Thanks for updating the patch. I found one issue: ``` /* DROP hook for the subscription being removed */ InvokeObjectDropHook(SubscriptionRelationId, subid, 0); ``` I think the reporting should be after the loop, otherwise the wrong subid can be reported. Am I missing something? Best regards, Hayato Kuroda FUJITSU LIMITED