Thread: postmaster.pid in version 7.4

postmaster.pid in version 7.4

From
Dario Marini
Date:
My postmaster.pid is something like:

23479
/export/home1/staff/marini/pgsql/data
  5432001     11703

I don't know if there is something wrong with my installation (I run
postgresql on Ultra-2 station with Solaris 6), for sure I cannot stop
postgrsql server using:

kill `cat /usr/local/pgsql/data/postmaster.pid`

as described in INSTALL file.
The right stop command should be:

kill `cat /usr/local/pgsql/data/postmaster.pid|head -1`

Best regards

    Dario Marini

Re: postmaster.pid in version 7.4

From
Peter Eisentraut
Date:
Dario Marini wrote:
> My postmaster.pid is something like:
>
> 23479
> /export/home1/staff/marini/pgsql/data
>   5432001     11703
>
> I don't know if there is something wrong with my installation (I run
> postgresql on Ultra-2 station with Solaris 6), for sure I cannot stop
> postgrsql server using:
>
> kill `cat /usr/local/pgsql/data/postmaster.pid`

I've fixed the installation instructions as you suggest.  At one point
this worked, but later we added more information to the pid file.
Thanks for the report.