Re: [GENERAL] Question about Linux, threads, and Postgres

From: Felix Morley Finch <felix(at)crowfix(dot)com>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Question about Linux, threads, and Postgres
Date: 1999-01-31 22:11:36
Message-ID: 14004.54552.825565.80328@crowfix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>In article <19990131124430(dot)B22196(at)ricochet(dot)net>, Adam Haberlach <haberlaa(at)ricochet(dot)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(at)crowfix(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ian.Willis 1999-02-01 03:39:22
Previous Message Oliver Elphick 1999-01-31 21:33:40 Re: [GENERAL] A forward-compatible pg_dump?