]> granicus.if.org Git - postgresql/commit
Use the sortsupport infrastructure in more cases.
authorRobert Haas <rhaas@postgresql.org>
Fri, 7 Nov 2014 20:50:09 +0000 (15:50 -0500)
committerRobert Haas <rhaas@postgresql.org>
Fri, 7 Nov 2014 20:50:55 +0000 (15:50 -0500)
commit5ea86e6e65dd2da3e9a3464484985d48328e7fe3
treefa004130711fce6d165aca0942fc2226ea682807
parent99e8f08fab6fb8a10cb5ef060b9e4973b671d27d
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.
src/backend/access/nbtree/nbtsort.c
src/backend/utils/sort/sortsupport.c
src/backend/utils/sort/tuplesort.c
src/include/utils/sortsupport.h