Re: SIGTERM/FATAL error

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: SIGTERM/FATAL error
Дата
Msg-id 200103120111.UAA24166@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: SIGTERM/FATAL error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Also, what signal should people send to a backend to kill just that
> > backend?
> 
> I don't know that we do or should recommend such a thing at all ...
> but SIGTERM should work if anything does (and it is, not coincidentally,
> the default kind of signal for kill(1)).
> 
> > In my reading of the code, I see:
> 
> >     pqsignal(SIGTERM, die);     /* cancel current query and exit */
> >     pqsignal(SIGQUIT, die);     /* could reassign this sig for another use */
> 
> This is already obsolete ;=) ... I'm just waiting on Vadim's approval of
> my xlog mods before committing a change in SIGQUIT handling --- see
> discussion a couple days ago.

Yes, I knew that was coming, so I sayed with SIGTERM because it should
work on 7.0 and 7.1.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SIGTERM/FATAL error
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: SIGTERM/FATAL error