pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: InsertPgAttributeTuple() to set attcacheoff
Date: Fri, 17 Aug 2018 20:19:01 +0000
Message-ID: <E1fqlD3-000697-4c@gemulon.postgresql.org> (raw)

InsertPgAttributeTuple() to set attcacheoff

InsertPgAttributeTuple() is the interface between in-memory tuple
descriptors and on-disk pg_attribute, so it makes sense to give it the
job of resetting attcacheoff.  This avoids having all the callers having
to do so.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e4597ee65d683e11a57a4b7f597807ebf44b6cf1

Modified Files
--------------
src/backend/catalog/heap.c       | 9 ++++-----
src/backend/catalog/index.c      | 5 -----
src/backend/commands/tablecmds.c | 1 -
3 files changed, 4 insertions(+), 11 deletions(-)



Message-ID: <E1fqlD3-000697-4c@gemulon.postgresql.org>
Permalink:  ../E1fqlD3-000697-4c@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fqlD3-000697-4c@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: InsertPgAttributeTuple() to set attcacheoff
  In-Reply-To: <E1fqlD3-000697-4c@gemulon.postgresql.org>
  References: <E1fqlD3-000697-4c@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