Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster
В списке pgsql-hackers по дате отправления:
| От | Hannu Krosing |
|---|---|
| Тема | Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster |
| Дата | |
| Msg-id | 52FF4951.1030408@2ndQuadrant.com обсуждение исходный текст |
| Ответ на | Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster (Greg Stark <stark@mit.edu>) |
| Список | pgsql-hackers |
In this case maybe it is pg_ctl which should do the deamoinizing ?
On 14 Feb 2014 23:07, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>
> If this is, as it sounds to be, a Solaris shell bug, doesn't it
> affect other daemons too?This is simmering i never exactly followed but i think if the shell doesn't support job control it's expected behaviour, not a bug. Only shells that support job control create new process groups for every backgrounded command.
I would have expected if I run postgres myself that it be attached to the terminal and die when I C-c it but if it's started by pg_ctl I would have thought it was running independently of my terminal and shell.
-- Hannu Krosing PostgreSQL Consultant Performance, Scalability and High Availability 2ndQuadrant Nordic OÜ
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера