Re: [HACKERS] Threads - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] Threads
Date
Msg-id 37A6FA1F.DF2CC054@alumni.caltech.edu
Whole thread Raw
In response to Threads  (Duane Currie <dcurrie@sandman.acadiau.ca>)
Responses Re: [HACKERS] Threads
Re: [HACKERS] Threads
List pgsql-hackers
> As well, a few have been asking about multi-threading.
> Any thoughts?

Threads within a client backend might be interesting. imho a
single-process multi-client multi-threaded server is just asking for
trouble, putting all clients at risk for any single misbehaving one.
Particularly with our extensibility features, where users and admins
can add functionality through code they have written (or are trying to
write ;) having each backend isolated is A Good Thing.

istm that many of the cases for which multi-threading is proposed (web
serving always comes up) can be solved using persistant connections or
other techniques.
                    - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] pg_upgrade may be mortally wounded
Next
From: Tom Lane
Date:
Subject: Mega-commits to "stable" version