Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/backend/catalog/catalog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading