Quoting Tom Lane <[EMAIL PROTECTED]>:

> Mischa Sandberg <[EMAIL PROTECTED]> 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.


---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

Reply via email to