]> granicus.if.org Git - postgresql/commit
Move generic slot support functions from heaptuple.c into execTuples.c.
authorAndres Freund <andres@anarazel.de>
Sun, 14 Oct 2018 22:18:16 +0000 (15:18 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 15 Oct 2018 22:17:04 +0000 (15:17 -0700)
commit9d906f1119de893a4ca533c5e7b97207a3aa963b
tree69424b7c149bf0ee3aeb2531da07d413dd0f4845
parente73ca79fc78db4eb13b7f513f16b7164c7b05ba7
Move generic slot support functions from heaptuple.c into execTuples.c.

heaptuple.c was never a particular good fit for slot_getattr(),
slot_getsomeattrs() and slot_getmissingattrs(), but in upcoming
changes slots will be made more abstract (allowing slots that contain
different types of tuples), making it clearly the wrong place.

Note that slot_deform_tuple() remains in it's current place, as it
clearly deals with a HeapTuple.  getmissingattrs() also remains, but
it's less clear that that's correct - but execTuples.c wouldn't be the
right place.

Author: Ashutosh Bapat.
Discussion: https://postgr.es/m/20180220224318.gw4oe5jadhpmcdnm@alap3.anarazel.de
src/backend/access/common/heaptuple.c
src/backend/executor/execTuples.c
src/include/access/htup_details.h
src/include/executor/tuptable.h