From 399381327a26aa0b45495cb78202869d187c05f3 Mon Sep 17 00:00:00 2001 From: reshke Date: Wed, 16 Sep 2026 16:03:17 +0000 Subject: [PATCH] Treat 8000-9000 oid range as non-pinned by system --- src/backend/catalog/catalog.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend/catalog/catalog.c b/src/backend/catalog/catalog.c index c05feee31bf..13f7f8c61af 100644 --- a/src/backend/catalog/catalog.c +++ b/src/backend/catalog/catalog.c @@ -692,6 +692,10 @@ RelationNeedsSynchronizedOIDs(Relation relation) bool IsPinnedObject(Oid classId, Oid objectId) { + /* Objects with oids in this range are managed while dev process in upstream + * or by extensions (e.g. yezzey) */ + if (objectId < 9000 && objectId >= 8000) + return false; /* * Objects with OIDs above FirstUnpinnedObjectId are never pinned. Since * the OID generator skips this range when wrapping around, this check