aboutsummaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/tuptoaster.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/access/tuptoaster.h b/src/include/access/tuptoaster.h
index 977e0b47481..710b5fa5024 100644
--- a/src/include/access/tuptoaster.h
+++ b/src/include/access/tuptoaster.h
@@ -145,6 +145,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.