You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Change the columns attndims, attstattarget, and attinhcount from int32to int16, and reorder a bit. This saves some space (currently 4bytes) in pg_attribute and tuple descriptors, which translates intosmall performance benefits and/or room for new columns in pg_attributeneeded by future features.attndims and attinhcount are never realistically used with valueslarger than int16. Just to be sure, add some overflow checks.attstattarget is currently limited explicitly to 10000.For consistency, pg_constraint.coninhcount is also changed likeattinhcount.Discussion:https://www.postgresql.org/message-id/flat/d07ffc2b-e0e8-77f7-38fb-be921dff71af%40enterprisedb.com