pgsql: Remove pg_attribute.attcacheoff column

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove pg_attribute.attcacheoff column
Date: 2024-12-20 10:24:07
Message-ID: E1tOaAw-000VN1-Lf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/02a8d0c45253eb54e57b1974c8627e5be3e1d852

Modified Files
--------------
doc/src/sgml/catalogs.sgml | 11 -----------
src/backend/access/common/tupdesc.c | 17 ++---------------
src/backend/bootstrap/bootstrap.c | 1 -
src/backend/catalog/heap.c | 16 ++++------------
src/backend/catalog/index.c | 1 -
src/backend/utils/cache/relcache.c | 17 -----------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_attribute.h | 9 ---------
src/test/regress/expected/type_sanity.out | 3 +--
src/test/regress/sql/type_sanity.sql | 3 +--
10 files changed, 9 insertions(+), 71 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2024-12-20 11:00:21 pgsql: Fix corruption when relation truncation fails.
Previous Message Michael Paquier 2024-12-20 10:03:44 pgsql: Relax regression test for fsync check of backend-level stats