From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mischa Sandberg <mischa_sandberg@telus.net>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Marc G. Fournier <scrappy@hub.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] postgresql in FreeBSD jails: proposal
Date: Thu, 17 Jan 2008 18:49:32 -0500
Message-ID: <17061.1200613772@sss.pgh.pa.us> (raw)
In-Reply-To: <1200610323.478fdc131bb3a@webmail.telus.net>
References: <1200501702.478e33c61b74e@webmail.telus.net>
<fmmqfh$buq$3@news.hub.org>
<4089.1200550374@sss.pgh.pa.us>
<20080117143729.GR5031@tamriel.snowman.net>
<1200610323.478fdc131bb3a@webmail.telus.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, mischa_sandberg@telus.net, sfrost@snowman.net, scrappy@hub.org, pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] postgresql in FreeBSD jails: proposal
In-Reply-To: <17061.1200613772@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox