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