negative pid?

From: Michael Brusser <michael(at)synchronicity(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: negative pid?
Date: 2004-05-13 20:26:32
Message-ID: DEEIJKLFNJGBEMBLBAHCEEGNEKAA.michael@synchronicity.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I see this code in pg_ctl:

PID=`sed -n 1p $PIDFILE`
if [ "$PID" -lt 0 ];then
PID=`expr 0 - $PID`

Wnen it is possible (and why) to have a negative number in postmaster.pid?

Thanks,
Mike

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2004-05-13 20:35:08 Re: mingw configure failure detection
Previous Message Gaetano Mendola 2004-05-13 19:21:30 pg_begintypend