Use the sortsupport infrastructure in more cases.
Robert Haas <rhaas@postgresql.org>
Use the sortsupport infrastructure in more cases. This removes some fmgr overhead from cases such as btree index builds. Peter Geoghegan, reviewed by Andreas Karlsson and me.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtsort.c | modified | +33 −30 |
| src/backend/utils/sort/sortsupport.c | modified | +60 −19 |
| src/backend/utils/sort/tuplesort.c | modified | +110 −165 |
| src/include/utils/sortsupport.h | modified | +3 −0 |