Improve sorting speed by pre-extracting the first sort-key column of

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 909ca1407c4f38d9cca28df016f467db041edad5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-02-26T22:58:12Z
Releases: 8.2.0
Improve sorting speed by pre-extracting the first sort-key column of
each tuple, as per my proposal of several days ago.  Also, clean up
sort memory management by keeping all working data in a separate memory
context, and refine the handling of low-memory conditions.

Files

PathChange+/−
src/backend/executor/nodeSort.c modified +4 −1
src/backend/utils/sort/tuplesort.c modified +600 −405