Re: ipcclean in 8.1 broken?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Subject: Re: ipcclean in 8.1 broken?
Date: 2006-03-01 11:49:13
Message-ID: 200603011249.14652.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message sandhya 2006-03-01 11:56:38 Fw: pls help me
Previous Message Peter Eisentraut 2006-03-01 10:51:29 PostgreSQL Anniversary Summit, Call for Contributions