Re: pg_prewarm really needs some CHECK_FOR_INTERRUPTS

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_prewarm really needs some CHECK_FOR_INTERRUPTS
Дата
Msg-id CAB7nPqTdzggRbJv_cXOOXN_61t3ZKj_DOVRUw7+q83ak3JjNmA@mail.gmail.com
обсуждение исходный текст
Ответ на pg_prewarm really needs some CHECK_FOR_INTERRUPTS  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On Tue, Nov 11, 2014 at 8:17 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> pg_prewarm() currently can't be cannot be interrupted - which seems odd
> given that it's intended to read large amounts of data from disk. A
> rather slow process.
>
> Unless somebody protests I'm going to add a check to the top of each of
> the three loops.
Good idea, +1.
-- 
Michael



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