diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/access/tuptoaster.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/access/tuptoaster.h b/src/include/access/tuptoaster.h index db2f7e57607..e9471efd0ea 100644 --- a/src/include/access/tuptoaster.h +++ b/src/include/access/tuptoaster.h @@ -134,6 +134,15 @@ extern struct varlena *heap_tuple_untoast_attr_slice(struct varlena * attr,  							  int32 slicelength);  /* ---------- + * toast_flatten_tuple - + * + *	"Flatten" a tuple to contain no out-of-line toasted fields. + *	(This does not eliminate compressed or short-header datums.) + * ---------- + */ +extern HeapTuple toast_flatten_tuple(HeapTuple tup, TupleDesc tupleDesc); + +/* ----------   * toast_flatten_tuple_attribute -   *   *	If a Datum is of composite type, "flatten" it to contain no toasted fields.  | 
