Re: ERROR: canceling statement due to user request - Mailing list pgsql-general

From Pavel Stehule
Subject Re: ERROR: canceling statement due to user request
Date
Msg-id CAFj8pRBjTNX6O1++tCEqXEjmMOi3tkJacj5e8f9FcSawdKXg_Q@mail.gmail.com
Whole thread Raw
In response to Re: ERROR: canceling statement due to user request  (FOUTE K. Jaurès <jauresfoute@gmail.com>)
Responses Re: ERROR: canceling statement due to user request  (FOUTE K. Jaurès <jauresfoute@gmail.com>)
List pgsql-general


st 5. 8. 2020 v 12:51 odesílatel FOUTE K. Jaurès <jauresfoute@gmail.com> napsal:
Ok,
Just want if we can avoid this error message, With some config for exemple ?

it is not possible

Pavel

Le mer. 5 août 2020 à 11:07, Paul Förster <paul.foerster@gmail.com> a écrit :
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.

Cheers,
Paul


--
Jaurès FOUTE

pgsql-general by date:

Previous
From: FOUTE K. Jaurès
Date:
Subject: Re: ERROR: canceling statement due to user request
Next
From: Ron
Date:
Subject: Re: ERROR: canceling statement due to user request