This is an automated email from the ASF dual-hosted git repository.

reshke pushed a commit to branch ijjdiew
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit 399381327a26aa0b45495cb78202869d187c05f3
Author: reshke <[email protected]>
AuthorDate: Wed Sep 16 16:03:17 2026 +0000

    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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to