Thread: pgsql: Remove pg_attribute.attcacheoff column

pgsql: Remove pg_attribute.attcacheoff column

From
David Rowley
Date:
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(-)