You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by re...@apache.org on 2026/09/16 16:03:50 UTC

(cloudberry) 01/01: Treat 8000-9000 oid range as non-pinned by system

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 <re...@double.cloud>
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: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org