Re: ERROR: canceling statement due to user request

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
Cc: FOUTE K(dot) Jaurès <jauresfoute(at)gmail(dot)com>, PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: ERROR: canceling statement due to user request
Date: 2020-08-05 10:12:26
Message-ID: CAFj8pRBzwznwe4xn3iqf+ZNpnzEy5_dpFJVZDQxnamhze4H=SA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

st 5. 8. 2020 v 12:07 odesílatel Paul Förster <paul(dot)foerster(at)gmail(dot)com>
napsal:

> Hi Jaurès,
>
> > On 05. Aug, 2020, at 11:35, FOUTE K. Jaurès <jauresfoute(at)gmail(dot)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
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message FOUTE K. Jaurès 2020-08-05 10:50:57 Re: ERROR: canceling statement due to user request
Previous Message Paul Förster 2020-08-05 10:07:12 Re: ERROR: canceling statement due to user request