ipcclean in 8.1 broken? - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject ipcclean in 8.1 broken?
Date
Msg-id 4403F0CE.7020901@familyhealth.com.au
Whole thread Raw
Responses Re: ipcclean in 8.1 broken?
Re: ipcclean in 8.1 broken?
List pgsql-hackers
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

Chris



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: character encoding in StartupMessage
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: character encoding in StartupMessage