summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeGroup.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-03-15 23:22:03 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-03-15 23:22:03 -0400
commit904e8b627c2547e93112080aac9381bbf39e8e99 (patch)
tree46e87fab125cc7403df0b940350c88420253bc8e /src/backend/executor/nodeGroup.c
parent837eb0846190bef65575b642a0ee8a3b3fedbafe (diff)
Replace insertion sort in contrib/intarray with qsort().
It's all very well to claim that a simplistic sort is fast in easy cases, but O(N^2) in the worst case is not good ... especially if the worst case is as easy to hit as "descending order input". Replace that bit with our standard qsort. Per bug #12866 from Maksym Boguk. Back-patch to all active branches.
Diffstat (limited to 'src/backend/executor/nodeGroup.c')
0 files changed, 0 insertions, 0 deletions