Skip to content

Commit

Permalink
Remove 80% warning since it is misleading
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Chang <[email protected]>
  • Loading branch information
timchang514 committed Jan 8, 2024
1 parent 2417b9f commit b84858e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/backend/catalog/catalog.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,6 @@ GetNewRelFileNode(Oid reltablespace, Relation pg_class, char relpersistence)
if (USE_BBF_OID_BUFFER && tries > temp_oid_buffer_size)
ereport(ERROR,
(errmsg("Unable to allocate oid for temp table. Drop some temporary tables or start a new session.")));
else if (USE_BBF_OID_BUFFER && tries >= (0.8 * temp_oid_buffer_size))
ereport(WARNING,
(errmsg("Temp object OID usage is over 80%%. Consider dropping some temp tables or starting a new session.")));

pfree(rpath);
tries++;
Expand Down

0 comments on commit b84858e

Please sign in to comment.