Re: postmaster.pid

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postmaster.pid
Дата
Msg-id 4246.1144874713@sss.pgh.pa.us
обсуждение исходный текст
Ответ на postmaster.pid  ("Ian Harding" <harding.ian@gmail.com>)
Список pgsql-general
"Ian Harding" <harding.ian@gmail.com> writes:
> The docs state that postmaster.pid is "A lock file recording the
> current postmaster PID and shared memory segment ID (not present after
> postmaster shutdown"
> I never looked until now, but I see the number 5432001 where the pid
> should be, and the real pid is in /tmp/.s.PGSQL.5432.lock, along with
> the path to data.

Not sure which PG version you are looking at, but in recent releases the
PID is on the first line, the second line is the $PGDATA path, and the
third has a couple of values associated with shared memory.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tim Hart
Дата:
Сообщение: Evaluating client processes vs stored procedures
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "Hidden" field for each column