Re: qsort->pg_qsort in 8.2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: qsort->pg_qsort in 8.2
Date
Msg-id 9545.1161982615@sss.pgh.pa.us
Whole thread Raw
In response to Re: qsort->pg_qsort in 8.2  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
Jan Wieck <JanWieck@Yahoo.com> writes:
> On 10/27/2006 3:47 PM, Tom Lane wrote:
>> Is it a problem?  If you really want the platform qsort you can #undef
>> qsort, but I don't entirely see why you would.

> It forces client programs to link against libpgport, which they didn't 
> have to before.

Client programs that aren't part of Postgres have no business including
postgres_fe.h, and in any case the inclusion of port.h forces you to buy
into libpgport, no?  This is hardly the only substitute function we have.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: qsort->pg_qsort in 8.2
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] WAL logging freezing