Remove pg_attribute.attcacheoff column
David Rowley <drowley@postgresql.org>
Remove pg_attribute.attcacheoff column The column is no longer needed as the offset is now cached in the CompactAttribute struct per commit 5983a4cff. Author: David Rowley Reviewed-by: Andres Freund, Victor Yegorov Discussion: https://postgr.es/m/CAApHDvrBztXP3yx=NKNmo3xwFAFhEdyPnvrDg3=M0RhDs+4vYw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +0 −11 |
| src/backend/access/common/tupdesc.c | modified | +2 −15 |
| src/backend/bootstrap/bootstrap.c | modified | +0 −1 |
| src/backend/catalog/heap.c | modified | +4 −12 |
| src/backend/catalog/index.c | modified | +0 −1 |
| src/backend/utils/cache/relcache.c | modified | +0 −17 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_attribute.h | modified | +0 −9 |
| src/test/regress/expected/type_sanity.out | modified | +1 −2 |
| src/test/regress/sql/type_sanity.sql | modified | +1 −2 |
Documentation touched
Discussion
- Make tuple deformation faster 41 messages · 2024-07-01 → 2025-06-16