Re: libpq_r

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq_r
Date: 2003-07-24 14:04:28
Message-ID: Pine.LNX.4.56.0307241600500.3595@krusty.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Lee Kindness writes:

> Guys, take a look at what was done in libpq to make it
> thread-safe... No locks! No overheaded - just using "proper" reentrant
> functions...

There is a difference between being reentrant and being thread-safe.
Making libpq reentrant is relatively easy if you use the right functions.
But we have no guarantee that it will be thread-safe by default, because
some platforms require special flags to make standard library functions
thread-safe.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

  • libpq_r at 2003-07-24 08:22:19 from Lee Kindness

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-07-24 14:09:53 Re: libpq_r
Previous Message Peter Eisentraut 2003-07-24 14:00:05 Re: