InsertPgAttributeTuple() to set attcacheoff
Peter Eisentraut <peter_e@gmx.net>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/heap.c | modified | +4 −5 |
| src/backend/catalog/index.c | modified | +0 −5 |
| src/backend/commands/tablecmds.c | modified | +0 −1 |