On Thu, Nov 26, 2026 at 2:27 PM Hayato Kuroda (Fujitsu) <[email protected]> wrote: > > Hi, > > Here is a comment for v97-0002. > > I found that conflict log table could be dumped with pg_dump --binary-upgrade > --no-subscription, > nevertheless the subscription cannot be dumped with them. This is because > getSubscriptions() > can be skipped by dopt->no_subscriptions but selectDumpableTable() does not. > Maybe we should also check the setting here?
+1. I see a similar problem with the '--binary-upgrade -n public' option too: --The subscription is skipped, because it isn't in schema public. --The CLT is still dumped, because the patch's CLT branch says to dump it in binary-upgrade mode The same problem exists with '-t .. --binary-upgrade'. I think there could be more such combinations too. I think this check in selectDumpableTable is not enough, it needs more checks like: !dopt->no_subscriptions && dopt->include_everything + if (dopt->binary_upgrade) + tbinfo->dobj.dump = DUMP_COMPONENT_DEFINITION | DUMP_COMPONENT_ACL | + thanks Shveta
