Re: [HACKERS] Function to kill backend

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: [HACKERS] Function to kill backend
Дата
Msg-id
200407270208.i6R289q28342@candle.pha.pa.us
Ответ на
Список
Дерево обсуждения
Re: [HACKERS] Function to kill backend "Dave Page" <dpage@vale-housing.co.uk>
Re: [HACKERS] Function to kill backend Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Function to kill backend Andreas Pflug <pgadmin@pse-consulting.de>
Re: [HACKERS] Function to kill backend Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Function to kill backend Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: [HACKERS] Function to kill backend Oliver Jowett <oliver@opencloud.com>
Re: [HACKERS] Function to kill backend Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Function to kill backend Oliver Jowett <oliver@opencloud.com>
Re: [HACKERS] Function to kill backend Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Function to kill backend Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] Function to kill backend Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Tom Lane wrote:
> Oliver Jowett  writes:
> > Tom Lane wrote:
> >> So what you'd basically need is a separate signal to trigger that sort
> >> of exit, which would be easy ... if we had any spare signal numbers.
> 
> > What about multiplexing it onto an existing signal? e.g. set a 
> > shared-mem flag saying "exit after cancel" then send SIGINT?
> 
> Possible, but then the *only* way to get the behavior is by using the
> backend function --- you couldn't use dear old kill(1) to do it
> manually.  It'd be better if it mapped to a signal.

And what happens if a FATAL comes while it is procesing a signal meant
for termination?  It wouldn't exit fast enough --- bad.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
В списке pgsql-patches по дате отправления
От: Alvaro Herrera
Дата:
Сообщение: [subxacts] Fixing TODO items
От: Bruce Momjian
Дата:
Сообщение: Re: win32 version info
FAQ