Re: Solaris

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: Solaris
Дата
Msg-id 3EAE3C0E.8080905@paradise.net.nz
обсуждение исходный текст
Ответ на Re: Solaris  ("scott.marlowe" <scott.marlowe@ihs.com>)
Ответы Re: Solaris  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
scott.marlowe wrote:

>Actually, I thought there was patch out there somewhere.  Anyone else
>know?
>
>
>
It looks like Solaris 9 has this included in a libc patch:
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fpatches/112874

However I think the solution chosen by the Postgresql developers  -
using qsort.c from BSD is the best one, as it *sorts* all the Solaris
releases (its in your Pg source : src/port/qsort.c).

In fact I wonder if using the BSD qsort for *all* platforms might be a
good idea - it would provide cross platform consistency and possibly
better performance (e.g. It was several times quicker than  glibc qsort,
when I checked this on Linux last year.... )

best wishes
Mark


В списке pgsql-general по дате отправления:

Предыдущее
От: Antti Haapala
Дата:
Сообщение: Re: timestamps and dates
Следующее
От: "Mad Hatter"
Дата:
Сообщение: Slow Queries with OR's?