Re: ipcclean in 8.1 broken?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ipcclean in 8.1 broken?
Date: 2006-03-03 19:30:45
Message-ID: 200603031930.k23JUj328187@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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.

If it can be done more reliably than what we do not. We support much
more than Linix, and I have not seen anyway say 'id' is available on all
platforms. We can try 'id' if it exists and fall back if it doesn't.

--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2006-03-03 19:42:35 Re: Foreign keys for non-default datatypes
Previous Message Tom Lane 2006-03-03 18:49:23 Re: ipcclean in 8.1 broken?