Re: ipcclean in 8.1 broken?
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>, Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers@postgresql.org
Date: 2006-03-03T17:24:26Z
Lists: pgsql-hackers
Tom Lane wrote: > Bruce Momjian <pgman@candle.pha.pa.us> writes: > > I applied the attached patch to CVS HEAD and 8.1.X. It looks at LOGNAME > > only if USER is not set. > > > ! if [ "$USER" = 'root' -o "$LOGNAME" = 'root' ] > > > ! # only check $LOGNAME if $USER is not set > > ! if [ "$USER" = 'root' -o \( ! "$USER" -a "$LOGNAME" = 'root' \) ] > > Bruce, this patch isn't going to fix anything. Chris said he did: > Well all I did to fix it on FreeBSD was to remove the '-o "$LOGNAME" = > 'root'' bit... so I figured the patch would help, no? -- Bruce Momjian http://candle.pha.pa.us SRA OSS, Inc. http://www.sraoss.com + If your life is a hard drive, Christ can be your backup. +