Re: Solaris - Mailing list pgsql-general

From Mark Kirkwood
Subject Re: Solaris
Date
Msg-id 3EAE3C0E.8080905@paradise.net.nz
Whole thread Raw
In response to Re: Solaris  ("scott.marlowe" <scott.marlowe@ihs.com>)
Responses Re: Solaris  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: Antti Haapala
Date:
Subject: Re: timestamps and dates
Next
From: "Mad Hatter"
Date:
Subject: Slow Queries with OR's?