Re: Solaris

From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>, pgman(at)candle(dot)pha(dot)pa(dot)us
Cc: Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in>, ianh(at)tpchd(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Solaris
Date: 2003-04-29 08:47:10
Message-ID: 3EAE3C0E.8080905@paradise.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • Re: Solaris at 2003-04-28 14:55:46 from scott.marlowe

Responses

  • Re: Solaris at 2003-04-29 14:09:42 from Bruce Momjian

Browse pgsql-general by date

  From Date Subject
Next Message Antti Haapala 2003-04-29 08:49:57 Re: timestamps and dates
Previous Message Shridhar Daithankar 2003-04-29 08:35:36 Re: Estimating space required for indexes