Re: [HACKERS] pg_background contrib module proposal

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: [HACKERS] pg_background contrib module proposal
Дата
Msg-id CAMsr+YFrmWPpVOD8wyBvfKK9haDXFbfKd_SEzXXT_MovP=0HPw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] pg_background contrib module proposal  (Andrew Borodin <borodin@octonica.com>)
Список pgsql-hackers
On 13 December 2016 at 01:17, Andrew Borodin <borodin@octonica.com> wrote:

> 6. Cancelation: a way to signal to background query that it's time to
> quit gracefully.

That at least should be fuss-free. SIGTERM it, and make sure the
worker does CHECK_FOR_INTERRUPTS() in regularly-hit places and loops.
Ensure the worker waits on latches rather than pg_usleep()ing.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] Declarative partitioning - another take
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] jsonb problematic operators