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

From FOUTE K. Jaurès
Subject Re: ERROR: canceling statement due to user request
Date
Msg-id CAHQ1jffcQXwEfG17=9-MdvXCFrW60Ea0e_rECrf4u145-k9Mdw@mail.gmail.com
Whole thread Raw
In response to Re: ERROR: canceling statement due to user request  (Paul Förster <paul.foerster@gmail.com>)
Responses Re: ERROR: canceling statement due to user request
Re: ERROR: canceling statement due to user request
List pgsql-general
Ok,
Just want if we can avoid this error message, With some config for exemple ?

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: Pavel Stehule
Date:
Subject: Re: ERROR: canceling statement due to user request
Next
From: Pavel Stehule
Date:
Subject: Re: ERROR: canceling statement due to user request