aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIncrementalSort.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2020-07-17 14:57:50 +1200
committerThomas Munro <tmunro@postgresql.org>2020-07-17 15:04:16 +1200
commitcdc7169509113018cc389da740e950c587b5751f (patch)
treeb62eba135c229de78eae334af0c8b64f169f36e8 /src/backend/executor/nodeIncrementalSort.c
parentd2bddc2500fb74d56e5bc53a1cfa269e2e846510 (diff)
downloadpostgresql-cdc7169509113018cc389da740e950c587b5751f.tar.gz
postgresql-cdc7169509113018cc389da740e950c587b5751f.zip
Use MinimalTuple for tuple queues.
This representation saves 8 bytes per tuple compared to HeapTuple, and avoids the need to allocate, copy and free on the receiving side. Gather can emit the returned MinimalTuple directly, but GatherMerge now needs to make an explicit copy because it buffers multiple tuples at a time. That should be no worse than before. Reviewed-by: Soumyadeep Chakraborty <soumyadeep2007@gmail.com> Discussion: https://postgr.es/m/CA%2BhUKG%2B8T_ggoUTAE-U%3DA%2BOcPc4%3DB0nPPHcSfffuQhvXXjML6w%40mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeIncrementalSort.c')
0 files changed, 0 insertions, 0 deletions