postmaster -S will not print an error if pid file exists

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема postmaster -S will not print an error if pid file exists
Дата
Msg-id Pine.LNX.4.30.0101262000440.769-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: postmaster -S will not print an error if pid file exists  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: postmaster -S will not print an error if pid file exists  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
If a second postmaster is started on a data directory and the second one
uses the -S option it will not print a message but simply exit and not
start a background process.  The exit status is 0.

This seems to have gotten lost in the changes postmaster.c rev. 1.195,
global lock file changes by tgl.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Open 7.1 items
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Sure enough, the lock file is gone