Skip site navigation (1) Skip section navigation (2)

Re: Using Threads?

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Junfeng Zhang <junfengz(at)cae(dot)wisc(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Using Threads?
Date: 2000-12-04 11:23:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Mon, 27 Nov 2000, Junfeng Zhang wrote:

> Hello all,
> I am new to postgreSQL. When I read the documents, I find out the Postmaster
> daemon actual spawns a new backend server process to serve a new client
> request. Why not use threads instead? Is that just for a historical reason,
> or some performance/implementation concern?

 It's a little a historical reason, but not only. The PostgreSQL allows
 to use user defined modules (functions), it means that bad module or
 bug in core code crash one backend only, but postmaster run still. In the 
 thread model crash all running backend. Big differntion is in the lock 
 method too. 


In response to

pgsql-hackers by date

Next:From: Vince VielhaberDate: 2000-12-04 11:37:23
Subject: Re: beta testing version
Previous:From: Zeugswetter Andreas SBDate: 2000-12-04 09:57:05
Subject: AW: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group