| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: InsertPgAttributeTuple() to set attcacheoff |
| Date: | 2018-08-17 20:19:01 |
| Message-ID: | E1fqlD3-000697-4c@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)sss(dot)pgh(dot)pa(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2018-08-17 21:12:45 | pgsql: Ensure schema qualification in pg_restore DISABLE/ENABLE TRIGGER |
| Previous Message | Andrew Gierth | 2018-08-17 15:31:16 | pgsql: Set scan direction appropriately for SubPlans (bug #15336) |