Hi,

> 3.
>     proname => 'binary_upgrade_set_next_attribute_versions', provolatile
> => 'v',
>     proparallel => 'u', prorettype => 'void', proargtypes => '_pg_lsn',
>     prosrc => 'binary_upgrade_set_next_attribute_versions' },
> +{ oid => '8407', descr => 'for use by pg_upgrade',
> +  proname => 'binary_upgrade_set_next_pg_subscription_oid', provolatile
> => 'v',
> +  proparallel => 'r', prorettype => 'void', proargtypes => 'oid',
> +  prosrc => 'binary_upgrade_set_next_pg_subscription_oid' },
> 
> I think we'd better set proparallel = 'u' to be consistent with other
> binary_upgrade functions.

+1. FYI, while hacking the pg_upgrade origin support, we met a CI failure 
because
planner chose the parallel execution of the binary-upgrade function and got
"cannot assign transaction IDs during a parallel operation" error. At that time
only the 0002 patch (preserving origin) was fixed but 0001 (preserving 
subscription id)
seemed to be retained.

Note: I could not access to the CI result because cirrus-ci has already been
closed.

[1]: 
https://www.postgresql.org/message-id/CAFPTHDbBiTfjYkQwYTNA2a4LRp8Sp7_zB59fmV0R7977ztxgmg%40mail.gmail.com

Best regards,
Hayato Kuroda
FUJITSU LIMITED

Reply via email to