ipcclean in 8.1 broken?

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: ipcclean in 8.1 broken?
Date: 2006-02-28 06:42:22
Message-ID: 4403F0CE.7020901@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2006-02-28 06:45:25 Re: character encoding in StartupMessage
Previous Message Tom Lane 2006-02-28 06:38:03 Re: character encoding in StartupMessage