Re: ipcclean in 8.1 broken? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ipcclean in 8.1 broken?
Date
Msg-id 3405.1141411763@sss.pgh.pa.us
Whole thread Raw
In response to Re: ipcclean in 8.1 broken?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: ipcclean in 8.1 broken?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> What's your point?  The script fails anyway if that bit doesn't work.

> Is 'id' better than what we have now if 'id' isn't widely supported?

I'm repeating myself, but: what's your point?  'id' exists on Linux,
and the script fails (in the worst possible way, ie, might remove
inappropriate shmem segments) on all other platforms if it's unable
to detect the correct EffectiveUser.  I would argue that checking for a
numeric, nonzero EffectiveUser is going to make it safer not less so.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Michael Paesold"
Date:
Subject: Re: ipcclean in 8.1 broken?
Next
From: Bruce Momjian
Date:
Subject: Re: ipcclean in 8.1 broken?