Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql/catalog: avoid making copies of table descriptors
Previously, we would copy table descriptors even if no PostDeserialization changes would apply eagerly. This could lead to extra over head when accessing a large number of tables in the pg_catalog tables. To address this, this patch will make a copy only if we need to modify the original descriptor because of a post deserialization change. Fixes: #121579 Release note: None
- Loading branch information