Re: ipcclean in 8.1 broken?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: ipcclean in 8.1 broken?
Дата
Msg-id 200603011249.14652.peter_e@gmx.net
обсуждение исходный текст
Ответ на ipcclean in 8.1 broken?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: ipcclean in 8.1 broken?  (Roman Neuhauser <neuhauser@sigpipe.cz>)
Re: ipcclean in 8.1 broken?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Am Dienstag, 28. Februar 2006 07:42 schrieb Christopher Kings-Lynne:
> I just tried using ipcclean in 8.1.3.  It doesn't work when I su to the
> pgsql user.  This part of the script:
>
> if [ "$USER" = 'root' -o "$LOGNAME" = 'root' ]
>
> Always fails because even tho $USER is set to 'pgsql' when su'ed,
> $LOGNAME is still root.
>
> This is on FreeBSD 4.9

It seems to work on Linux; apparently there are different behaviors of su.  Do 
you have a suggestion for resolving this?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: ipcclean in 8.1 broken?
Следующее
От: Roman Neuhauser
Дата:
Сообщение: Re: ipcclean in 8.1 broken?