Hi,

On Tue, Nov24, 2026 at 03:46 PM Zhijie Hou wrote:

Here is the v97 patch set (only 0001 is changed, along with minor
commit message and comment polish).

I reviewed 0002 and have few comments:

1.

The ACLs on the pg_conflict schema are not preserved during upgrade, so a user whose access to pg_conflict.* was revoked can unexpectedly access it again after upgrading. I think we shall update selectDumpableNamespace() so that pg_conflict falls into the pg_catalog branch to preserve them.

2.

  <application>pg_upgrade</application> also preserves the subscription's
   OID, along with its conflict log table, if conflict_log_destination
   is set to table or all.

We shall make it accurate that subscription OID is unconditionally perserved.


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.


--
Best Regards,
Zhijie Hou


Reply via email to