Re: Terminating a backend

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Terminating a backend
Дата
Msg-id 200803070140.m271eu603496@momjian.us
обсуждение исходный текст
Ответ на Re: Terminating a backend  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > I have an idea for this TODO item:
> > ...
> > When we get the termination signal, why can't we just set a global
> > boolean, do a query cancel, and in the setjmp() code block check the
> > global and exit --- at that stage we know we have released all locks and
> > can exit cleanly.
> 
> How does that differ from what happens now?

We would _terminate_/exit, not just cancel the query.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Terminating a backend
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Group Commit