Re: [HACKERS] putting CHECK_FOR_INTERRUPTS in qsort_comparetup() - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] putting CHECK_FOR_INTERRUPTS in qsort_comparetup()
Date
Msg-id 4373.1152905215@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] putting CHECK_FOR_INTERRUPTS in qsort_comparetup()  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [HACKERS] putting CHECK_FOR_INTERRUPTS in qsort_comparetup()  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> We might have to just tolerate this, but if it occurs on a lot of
>> platforms I'd have second thoughts about applying the patch.  Anyone
>> familiar with the internals of glibc's qsort, in particular?

> Doesn't look like it's allocating any nonlocal memory:

> http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdlib/qsort.c?rev=1.12&content-type=text/x-cvsweb-markup&cvsroot=glibc

But this file defines _quicksort() not qsort().  I was under the
impression that the latter is actually a mergesort in glibc ...

            regards, tom lane

pgsql-patches by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: [DOCS] Maintenance and External Projects (try 2)
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] putting CHECK_FOR_INTERRUPTS in qsort_comparetup()