Tom Lane wrote:
> Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
>> Is it time to "remove" PG qsort and use libc version for solaris 9, 10...?
>
> I have no particular desire to introduce a version number check until we
> have to. If you can show that the newer versions have a qsort that
> substantially *out-performs* ours, it would be worth doing that, but
> merely being competitive isn't enough to make it worth the trouble.
>
The implementation in the solaris uses same ideas like postgres
implementation exclude sort array detection. There are small difference with threshold when median uses 9 items and
thresholdfor insertion
sort. Performance is similarly - no winer (only on sorted array).
Zdenek