Re: ERROR: canceling statement due to user request

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: ERROR: canceling statement due to user request
Дата
Msg-id CAFj8pRBzwznwe4xn3iqf+ZNpnzEy5_dpFJVZDQxnamhze4H=SA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ERROR: canceling statement due to user request  (Paul Förster <paul.foerster@gmail.com>)
Список pgsql-general


st 5. 8. 2020 v 12:07 odesílatel Paul Förster <paul.foerster@gmail.com> napsal:
Hi Jaurès,

> On 05. Aug, 2020, at 11:35, FOUTE K. Jaurès <jauresfoute@gmail.com> wrote:
>
> Hello,
>
> How can I Solve this error ?
>
> ERROR:  canceling statement due to user request

simple: don't make the user hit ctrl-c or otherwise interrupt a transaction in progress.

As soon, as a transaction is interrupted, you'll get the message. This is mostly informational and not necessarily an error per se.

If we talk about "psql" then you can do nothing. If you want to change this behavior, you have to modify source code and recompile it.

Regards

Pavel

 
Cheers,
Paul

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

Предыдущее
От: Paul Förster
Дата:
Сообщение: Re: ERROR: canceling statement due to user request
Следующее
От: FOUTE K. Jaurès
Дата:
Сообщение: Re: ERROR: canceling statement due to user request