On Thu, Feb 05, 2026 at 11:36:00AM -0600, Nathan Bossart wrote:
> @@ -1046,7 +1046,7 @@ get_object_address(ObjectType objtype, Node *object,
>                               address.classId = LargeObjectRelationId;
>                               address.objectId = oidparse(object);
>                               address.objectSubId = 0;
> -                             if (!LargeObjectExists(address.objectId))
> +                             if (!LargeObjectExists(address.objectId) && 
> !IsBinaryUpgrade)
>                               {
>                                       if (!missing_ok)
>                                               ereport(ERROR,

(Probably better to set missing_ok for only the specific commands we want
to bypass this check, but you get the idea...)

-- 
nathan


Reply via email to