]> granicus.if.org Git - postgresql/commit
InsertPgAttributeTuple() to set attcacheoff
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 17 Jul 2018 07:48:29 +0000 (09:48 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 17 Aug 2018 20:08:21 +0000 (22:08 +0200)
commite4597ee65d683e11a57a4b7f597807ebf44b6cf1
treec50ca6a729c9bdab71071f6f111832a1e6022767
parent520acab171244b55d816c70b9a89280b09937925
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>
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/commands/tablecmds.c