Re: ipcclean in 8.1 broken?

Christopher Kings-Lynne <chriskl@familyhealth.com.au>

From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Hackers <pgsql-hackers@postgresql.org>
Date: 2006-03-01T08:39:32Z
Lists: pgsql-hackers
No-one has a comment on this?

Christopher Kings-Lynne wrote:
> 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
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly