InsertPgAttributeTuple() to set attcacheoff

Peter Eisentraut <peter_e@gmx.net>

Commit: e4597ee65d683e11a57a4b7f597807ebf44b6cf1
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2018-08-17T20:08:21Z
Releases: 12.0
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>

Files

PathChange+/−
src/backend/catalog/heap.c modified +4 −5
src/backend/catalog/index.c modified +0 −5
src/backend/commands/tablecmds.c modified +0 −1