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

From Christopher Kings-Lynne
Subject Re: ipcclean in 8.1 broken?
Date
Msg-id 440649F5.7080005@familyhealth.com.au
Whole thread Raw
In response to Re: ipcclean in 8.1 broken?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: ipcclean in 8.1 broken?
List pgsql-hackers
>> 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?

Well all I did to fix it on FreeBSD was to remove the '-o "$LOGNAME" = 
'root'' bit...

Chris




pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: [SQL] Interval subtracting
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: ipcclean in 8.1 broken?