aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/tuptoaster.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/access/tuptoaster.h')
-rw-r--r--src/include/access/tuptoaster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/tuptoaster.h b/src/include/access/tuptoaster.h
index 331dd259ccb..7d185357714 100644
--- a/src/include/access/tuptoaster.h
+++ b/src/include/access/tuptoaster.h
@@ -90,7 +90,7 @@
#define TOAST_MAX_CHUNK_SIZE \
(EXTERN_TUPLE_MAX_SIZE - \
- MAXALIGN(offsetof(HeapTupleHeaderData, t_bits)) - \
+ MAXALIGN(SizeofHeapTupleHeader) - \
sizeof(Oid) - \
sizeof(int32) - \
VARHDRSZ)