| От | Tom Lane |
|---|---|
| Тема | Re: Questions about pid file creation code |
| Дата | |
| Msg-id | 10197.1175622056@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Questions about pid file creation code (Zdenek Kotala <Zdenek.Kotala@Sun.COM>) |
| Список | pgsql-hackers |
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Tom Lane wrote:
>> The start script does not typically have the intelligence to get this
>> right, particularly not the is-shmem-still-in-use part. If you check
>> the archives you will find many of us on record telling people who think
>> they should remove the pidfile in their start script that they're crazy.
> It is true, but question is what way is better. Keep all logic in
> postmaster or improve pg_ctl to share more information and keep
> responsibility on start scripts or monitoring tool which has more
> information about system as complex.
If you have conditions PG doesn't know about, you're free to test for
them in your start script. I see no reason to change this code, however.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера