Unix Technical Forum

Re: PG qsort vs. Solaris

This is a discussion on Re: PG qsort vs. Solaris within the pgsql Hackers forums, part of the PostgreSQL category; --> +1 - Luke On 10/3/06 2:58 PM, "Mark Kirkwood" <markir@paradise.net.nz> wrote: > Tom Lane wrote: >> Neil Conway <neilc@samurai.com> ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008, 05:07 AM
Luke Lonergan
 
Posts: n/a
Default Re: PG qsort vs. Solaris

+1

- Luke


On 10/3/06 2:58 PM, "Mark Kirkwood" <markir@paradise.net.nz> wrote:

> Tom Lane wrote:
>> Neil Conway <neilc@samurai.com> writes:
>>> Given the time that has been spent working around
>>> the braindamaged behavior of qsort() on various platforms, I would be
>>> more inclined to *always* use our qsort() instead of the platform's
>>> version.

>>
>> I've been heard to argue against that in the past, but I'm beginning to
>> see the merit of the idea. One good reason for doing it is that we
>> could stop worrying about the possibility of large-scale memory leaks
>> due to erroring out of glibc's qsort --- in particular it would be OK
>> to add CHECK_FOR_INTERRUPTS into the comparison callback as was
>> requested recently.
>>

>
> I think this is a great idea - having predictable sort performance on
> all platforms makes a lot of sense.
>
> Cheers
>
> Mark
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>




---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:43 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com