Обсуждение: postmaster.pid in version 7.4

Поиск
Список
Период
Сортировка

postmaster.pid in version 7.4

От
Dario Marini
Дата:
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

От
Peter Eisentraut
Дата:
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.