| От | Tom Lane |
|---|---|
| Тема | Re: ctrl+C |
| Дата | |
| Msg-id | 20145.1052778144@sss.pgh.pa.us обсуждение |
| Ответ на | ctrl+C (Kathy Zhu <Kathy.Zhu@Sun.COM>) |
| Список | pgsql-general |
Kathy Zhu <Kathy.Zhu@Sun.COM> writes:
> After I do psql, if I hit ctrl+C, it will terminate postmaster.
It sounds like you've launched the postmaster from the same shell you
are running psql in, and the shell thinks that the postmaster is still
part of the process group it should kill on control-C.
You didn't say what OS this is, but you probably need one or both of:
* launch the postmaster from a different shell process (making a script
to launch it will fix this);
* make sure postmaster's stdin, stdout, stderr are all redirected away
from the terminal.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера