Re: [HACKERS] Terminating a backend

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Terminating a backend
Дата
Msg-id 16439.1208016139@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Terminating a backend  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: [HACKERS] Terminating a backend  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
Bruce Momjian <bruce@momjian.us> writes:
>> 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.

> I have implemented this idea with the attached patch.

It was already explained to you why this is a bad idea.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: libpq patch for pqtypes hook api and PGresult creation
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Terminating a backend