From: Mischa Sandberg <mischa_sandberg@telus.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: postgresql in FreeBSD jails: proposal
Date: Wed, 16 Jan 2008 09:13:23 -0800
Message-ID: <1200503603.478e3b33346ca@webmail.telus.net> (raw)
In-Reply-To: <25135.1200503395@sss.pgh.pa.us>
References: <1200501702.478e33c61b74e@webmail.telus.net>
<25135.1200503395@sss.pgh.pa.us>
Quoting Tom Lane <tgl@sss.pgh.pa.us>:
> Mischa Sandberg <mischa_sandberg@telus.net> writes:
> > + /* In a FreeBSD jail, you can't "kill -0" a
> postmaster
> > + * running in a different jail, so the shm seg
> might
> > + * still be in use. Safer to test nattch ?
> > + */
> > + if (kill(1,0) && errno == ESRCH &&
> PGSharedMemoryIsInUse(0,NextShmemSegID))
> > + continue;
>
> Isn't the last part of that test backward? If it isn't, I don't
> understand what it's for at all.
Serious blush here. Yes.
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: mischa_sandberg@telus.net, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Subject: Re: postgresql in FreeBSD jails: proposal
In-Reply-To: <1200503603.478e3b33346ca@webmail.telus.net>
* 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