pgsql: InsertPgAttributeTuple() to set attcacheoff - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: InsertPgAttributeTuple() to set attcacheoff
Date
Msg-id E1fqlD3-000697-4c@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Andrew Gierth
Date:
Subject: pgsql: Set scan direction appropriately for SubPlans (bug #15336)
Next
From: Tom Lane
Date:
Subject: pgsql: Ensure schema qualification in pg_restore DISABLE/ENABLETRIGGER