negative pid? - Mailing list pgsql-hackers

From Michael Brusser
Subject negative pid?
Date
Msg-id DEEIJKLFNJGBEMBLBAHCEEGNEKAA.michael@synchronicity.com
Whole thread Raw
In response to pg_begintypend  (Gaetano Mendola <mendola@bigfoot.com>)
Responses Re: negative pid?
List 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






pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: pg_begintypend
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: pg_autovacuum Win32 service patch #2