Re: ipcclean in 8.1 broken?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ipcclean in 8.1 broken?
Дата
Msg-id 10913.1141227965@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ipcclean in 8.1 broken?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> No-one has a comment on this?

ipcclean has never been much more than beta-quality software; it doesn't
pretend to be very portable.

Having said that, I think the anti-root check is bogus.  It was probably
added in a fit of "let's make sure nobody tries to admin PG as root",
but I don't see why that applies to ipcclean.  The only thing that
really matters is whether the subsequent id/whoami lookup comes up with
the proper user id.  I'd be inclined to do the id lookup and then bomb
out if it came up with 0 (just to ensure that no one accidentally blows
away really-important shared memory segments).
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Initdb on Windows 2003
Следующее
От: Simon Riggs
Дата:
Сообщение: statement_cost_limit