Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3IQ3-0007nP-9v for pgsql-general@arkaria.postgresql.org; Wed, 05 Aug 2020 12:21:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k3IQ2-0005Tj-8x for pgsql-general@arkaria.postgresql.org; Wed, 05 Aug 2020 12:21:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3IQ1-0005Tc-V1 for pgsql-general@lists.postgresql.org; Wed, 05 Aug 2020 12:21:18 +0000 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k3IPz-0002ug-TF for pgsql-general@lists.postgresql.org; Wed, 05 Aug 2020 12:21:17 +0000 Received: by mail-oi1-x232.google.com with SMTP id k4so39398786oik.2 for ; Wed, 05 Aug 2020 05:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=NA+14w1ekbKiRZnw7qek/kU1GaZ+jmG7ag++bEuuWd4=; b=AhOLo6t3inBb6A9g+mdOwTlceYspo3tiwpVzbIUlGN+7UhiwOXVVVv1sR7gZDQZUrs yrEOJakF2ljJpM6bto5/ycqtizL/BBiLkYghui6XMnB+RoWQZHRwfX2UJvqSw3d3M5o8 pcwIQjvVMXGM7SrG+Pcur56xzrkw0Sd/YnDfUvYRiFW2/ZR5n3wU9N3klwX9o/qMne9x gpdQSu2Kft4731sneaZuwK8c9bTIJeBwhtBo/yYE2pcZK/LZzCdM/Rb4VG0VK6Szbb4D QfIqJGbSDexiYZ/rxsKQCxMxaaDznxgSV8vMaOfNJ4YeUzFAItWAEr0CqPrjG3a573Bf T7Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=NA+14w1ekbKiRZnw7qek/kU1GaZ+jmG7ag++bEuuWd4=; b=uaO8g3iBh/9z3g6TZuwbo0Xeh4guw/wKFZ6KCRnT83h54do538ayxPXDVl0/1J8M1E ZrwnTNA80wV5859m5SJAgsQfPuUat6OdcOq+/+MuI+QiN9/ZHB/F449ZRHzcTADroC1y 9uoUKrbMNB3WlTAeZ2IDcHae9gEKlEG74qjd67Kfq+cgQoI3NjQ87fJVlHBoOE9HcqTP jIeGOR1N1awPysdk0xTYI7uLn2f6zT+Mmb3Xd82JVK3jVJEkC/2X5MfEZc2pCwB0pEb+ bfM3y48XlXr1B0pmLYlAO+npGYIHjSG8GOTqmpsXV0jhbugRSJLWS5esw0oNDnZDI6gv 3IfA== X-Gm-Message-State: AOAM530qjA3SeqdIBWKDb50yyRb4TQGyfmunUn+YYQjot/86Q0xfM/8+ IbwArtYxesZAuhDfwe4LAz0/rYgbhV4= X-Google-Smtp-Source: ABdhPJysTT+TNT6+t2Sd6o2OxzXnky6sdYNyO0RUrjw58u5XbD9nSsC+jBU7fPtVSO3xANYBKpDjnQ== X-Received: by 2002:aca:130b:: with SMTP id e11mr2330407oii.140.1596630073240; Wed, 05 Aug 2020 05:21:13 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id q7sm340636otf.25.2020.08.05.05.21.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Aug 2020 05:21:12 -0700 (PDT) Subject: Re: ERROR: canceling statement due to user request To: pgsql-general@lists.postgresql.org References: <2D435AF4-F615-4413-BCC2-2D891AF2112B@gmail.com> From: Ron Message-ID: <4029e30a-8568-df19-6d2a-24896c482038@gmail.com> Date: Wed, 5 Aug 2020 07:21:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------C17A617B40236E5A7EF11245" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------C17A617B40236E5A7EF11245 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit File a bug report to that these messages are Informationals instead of errors. On 8/5/20 5:50 AM, FOUTE K. Jaurès wrote: > 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 > a écrit : > > Hi Jaurès, > > > On 05. Aug, 2020, at 11:35, FOUTE K. Jaurès > 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 -- Angular momentum makes the world go 'round. --------------C17A617B40236E5A7EF11245 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit File a bug report to that these messages are Informationals instead of errors.


On 8/5/20 5:50 AM, FOUTE K. Jaurès wrote:
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

--
Angular momentum makes the world go 'round.
--------------C17A617B40236E5A7EF11245--