diff options
Diffstat (limited to 'src/include/access/tuptoaster.h')
-rw-r--r-- | src/include/access/tuptoaster.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/include/access/tuptoaster.h b/src/include/access/tuptoaster.h index 7bc55dc53a..95a1fe8e00 100644 --- a/src/include/access/tuptoaster.h +++ b/src/include/access/tuptoaster.h @@ -6,7 +6,7 @@ * * Copyright (c) 2000, PostgreSQL Development Team * - * $Id: tuptoaster.h,v 1.13 2001/11/05 17:46:31 momjian Exp $ + * $Id: tuptoaster.h,v 1.14 2002/03/05 05:33:25 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -100,6 +100,17 @@ extern varattrib *heap_tuple_fetch_attr(varattrib *attr); extern varattrib *heap_tuple_untoast_attr(varattrib *attr); /* ---------- + * heap_tuple_untoast_attr_slice() - + * + * Fetches only the specified portion of an attribute. + * (Handles all cases for attribute storage) + * ---------- + */ +extern varattrib *heap_tuple_untoast_attr_slice(varattrib *attr, + int32 sliceoffset, + int32 slicelength); + +/* ---------- * toast_compress_datum - * * Create a compressed version of a varlena datum, if possible |