On Thu, 26 Nov 2026 at 16:58, Amit Kapila <[email protected]> wrote:
>
> I am wondering why we need this special handling in
> selectDumpableTable at all for CLT? Can't the following handles both
> your and current cases by having a branch as follows in
> selectDumpableNamespace()
> else if (strcmp(nsinfo->dobj.name, “pg_conflict”) == 0)
> {
>       nsinfo->dobj.dump = DUMP_COMPONENT_ACL;
>       nsinfo->dobj.dump_contains = fout->dopt->binary_upgrade ?
>               DUMP_COMPONENT_ALL : DUMP_COMPONENT_NONE;
> }

This is now moved from selectDumpableTable to selectDumpableNamespace,
the v98 version patch attached at [1] has the changes for the same.

> Will it be better if we split this patch to preserve subid across
> upgrade into a separate patch as that would be required for commit_ts
> upgrade as well? And start a separate thread to preserve CLT during
> upgrade (that thread can contain both preserve subid patch and CLT vs.
> dump/upgrade handling).

+1 for this, I will handle this while posting the next version.

[1] - 
https://www.postgresql.org/message-id/CALDaNm08sHU%3DBowHwEdurWt0-XwsAYB0drL_1%3DS-_XJC4atnqQ%40mail.gmail.com

Regards,
Vignesh


Reply via email to