Re: [HACKERS] [PATCH] New command to monitor progression of longrunning queries

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: [HACKERS] [PATCH] New command to monitor progression of longrunning queries
Дата
Msg-id CAJGNTePVzgYNdTk7YSCuBKDHTfWZghrbkKHcP8BGV0E_ury9YA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] [PATCH] New command to monitor progression of longrunning queries  (Vinayak Pokale <vinpokale@gmail.com>)
Ответы Re: [HACKERS] [PATCH] New command to monitor progression of longrunning queries
Список pgsql-hackers
On 5 May 2017 at 22:38, Vinayak Pokale <vinpokale@gmail.com> wrote:
>
> On Mon, Apr 17, 2017 at 9:09 PM, Remi Colinet <remi.colinet@gmail.com>
> wrote:
>>
>> Hello,
>>
>> I've implemented a new command named PROGRESS to monitor progression of
>> long running SQL queries in a backend process.
>>
> Thank you for the patch.
>

sorry if i'm bikeshedding to soon but... why a command instead of a function?
something like pg_progress_backend() will be in sync with
pg_cancel_backend()/pg_terminate_backend() and the result of such a
function could be usable by a tool to examine a slow query status

-- 
Jaime Casanova                      www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Vinayak Pokale
Дата:
Сообщение: Re: [HACKERS] [PATCH] New command to monitor progression of longrunning queries
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [HACKERS] delta relations in AFTER triggers