Skip to content

Commit 166ce1e

Browse files
committed
Fix excessive TOAST storage for AO row tables
Customer reported that Cloudberry's AO row TOAST tables consume significantly more space compared to Greenplum 7. This issue was introduced by commit 0e819cf, which cherry-picked fixes from GPDB. Correct the parameter order to resolve the space inefficiency. Authored-by: Zhang Mingli [email protected]
1 parent 3f589f6 commit 166ce1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/heap/heaptoast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ heap_toast_insert_or_update(Relation rel, HeapTuple newtup, HeapTuple oldtup, in
106106
MemTuple memtup_toast_insert_or_update(Relation rel, MemTuple newtup, MemTuple oldtup,
107107
MemTupleBinding *pbind, int toast_tuple_target, int options)
108108
{
109-
return (MemTuple) heap_toast_insert_or_update_generic(rel, newtup, oldtup, pbind, toast_tuple_target, options, true);
109+
return (MemTuple) heap_toast_insert_or_update_generic(rel, newtup, oldtup, pbind, options, toast_tuple_target, true);
110110
}
111111

112112
static void *

0 commit comments

Comments
 (0)