Re: [ADMIN] postgresql in FreeBSD jails: proposal - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [ADMIN] postgresql in FreeBSD jails: proposal
Date
Msg-id 17061.1200613772@sss.pgh.pa.us
Whole thread Raw
In response to Re: [ADMIN] postgresql in FreeBSD jails: proposal  (Mischa Sandberg <mischa_sandberg@telus.net>)
Responses Re: [ADMIN] postgresql in FreeBSD jails: proposal  (Mischa Sandberg <mischa_sandberg@telus.net>)
List pgsql-hackers
Mischa Sandberg <mischa_sandberg@telus.net> writes:
> I'm going to skip the kill(1,0) test and depend on nattch only,
> with a function that PGSharedMemoryIsInUse() can also use.
> (For a healthy server, nattch is never less than 2, right?)

Oh, forgot to mention: healthy servers are not the point here.
You should make the code keep its hands off any segment with
nonzero nattch, because even one orphaned backend is enough
to cause trouble.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: modularity of PostgreSQL
Next
From: Mischa Sandberg
Date:
Subject: Re: [ADMIN] postgresql in FreeBSD jails: proposal