Re: [HACKERS] PostgreSQL libraries - PThread Support, but

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] PostgreSQL libraries - PThread Support, but
Date: 2003-01-09 21:50:35
Message-ID: Pine.LNX.4.44.0301092131410.29178-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-01-09 21:50:44 Re: IPv6 patch
Previous Message Peter Eisentraut 2003-01-09 21:49:42 Re: psql and readline

Browse pgsql-patches by date

  From Date Subject
Next Message Ron Peterson 2003-01-09 21:50:56 Re: insert rule doesn't see id field
Previous Message Peter Eisentraut 2003-01-09 21:50:26 Re: Docs for service file