Hi, We currently copy MinimalTuple twice in ExecHashSkewTableInsert() if the input slot is not a MinimalTupleTableSlot. We can avoid this by using ExecCopySlotMinimalTupleExtra().
Patch attached. -- Regards, ChangAo Chen
v1-0001-Avoid-copying-MinimalTuple-twice-in-ExecHashSkewT.patch
Description: Binary data
