[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [GENERAL] Question about Linux, threads, and Postgres
From:       Felix Morley Finch <felix () crowfix ! com>
Date:       1999-01-31 22:11:36
[Download RAW message or body]

>>In article <19990131124430.B22196@ricochet.net>, Adam Haberlach <haberlaa@ricochet.net> writes:

> On Sat, Jan 30, 1999 at 09:08:14PM -0800, Felix Morley Finch wrote:

>> Q 2: Is it necessary and/or sufficient to have only one thread talk to
>> the Postgres library?

> 	Well, it would be sufficient--I am not sure if it is necessary.
> When I get around to cleaning up my hackish port of the client libs
> to BeOS, I will keep an eye out for things that could cause problems.

Hmmmmm.  I wonder.  If libpq doesn't know about per-thread errno, but
uses the global one, and my code thinks the per-thread errno is set,
this might cause problems.  I wonder if there are any other libc
variables which also have per-thread and global versions.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  PGP = 91 B3 94 7C E9 E8 76 2D   E1 63 51 AA A0 48 89 2F  ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic