Re: fe-utils - share query cancellation code

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: fe-utils - share query cancellation code
Дата
Msg-id alpine.DEB.2.21.1911010809130.27369@lancre
обсуждение исходный текст
Ответ на Re: fe-utils - share query cancellation code  (Ibrar Ahmed <ibrar.ahmad@gmail.com>)
Ответы Re: fe-utils - share query cancellation code  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Hello,

> I give a quick look and I think we can
>
> void
> psql_setup_cancel_handler(void)
> {
>        setup_cancel_handler(psql_sigint_callback);
> }
>
> Because it does not matter for setup_cancel_handler what we passed
> because it is ignoring that in case of windows.

The "psql_sigint_callback" function is not defined under WIN32.

I've fixed a missing NULL argument in the section you pointed out, though.

I've used the shared infrastructure in pgbench.

I've noticed yet another instance of the cancelation stuff in 
"src/bin/pg_dump/parallel.c", but it seems somehow different from the two 
others, so I have not tried to used the shared version.

-- 
Fabien.
Вложения

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

Предыдущее
От: Ibrar Ahmed
Дата:
Сообщение: Re: The command tag of "ALTER MATERIALIZED VIEW RENAME COLUMN"
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: 64 bit transaction id