Re: [HACKERS] PostgreSQL libraries - PThread Support, but - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: [HACKERS] PostgreSQL libraries - PThread Support, but
Date
Msg-id Pine.LNX.4.44.0301092131410.29178-100000@localhost.localdomain
Whole thread Raw
In response to Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...  (Lee Kindness <lkindness@csl.co.uk>)
List pgsql-patches
Lee Kindness writes:

> Patches attached to make libpq thread-safe, now uses strerror_r(),
> gethostbyname_r(), getpwuid_r() and crypt_r() where available. Where
> strtok() was previously used strchr() is now used.

AC_TRY_RUN tests are prohibited.  Also, try to factor out some of these
huge tests into separate macros and put them into config/c-library.m4.
And it would be nice if there was some documentation about what was
checked for.  If you just want to check whether gethostbyname_r() has 5 or
6 arguments you can do that in half the space.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Docs for service file
Next
From: Bruce Momjian
Date:
Subject: Re: more adequate usage msg: pg_controldata.diff