pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove pg_attribute.attcacheoff column
Date: Fri, 20 Dec 2024 10:24:07 +0000
Message-ID: <E1tOaAw-000VN1-Lf@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1tOaAw-000VN1-Lf@gemulon.postgresql.org>
Permalink:  ../E1tOaAw-000VN1-Lf@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tOaAw-000VN1-Lf@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove pg_attribute.attcacheoff column
  In-Reply-To: <E1tOaAw-000VN1-Lf@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox