Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3Lis-00013B-Rj for pgadmin-hackers@arkaria.postgresql.org; Tue, 03 Apr 2018 13:11:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3Lir-0003nH-QD for pgadmin-hackers@arkaria.postgresql.org; Tue, 03 Apr 2018 13:11:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3Lir-0003n7-Ky for pgadmin-hackers@lists.postgresql.org; Tue, 03 Apr 2018 13:11:37 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f3Lio-0007A5-08 for pgadmin-hackers@postgresql.org; Tue, 03 Apr 2018 13:11:37 +0000 Received: by mail-wm0-x234.google.com with SMTP id p9so33409112wmc.3 for ; Tue, 03 Apr 2018 06:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+r97JKov8f9W3iKj+ETMVdUozOn9fpqzshHfymbE/qA=; b=vChlj9Mo5g6C4I3OCm5psn0dLWSuAlHIIwp9yJXufP2yCHte6S2CvDS+UlWetY/sfd /xEbE8XD9yuLhwi7h3oRhTUECHUrrRvfuv6w4p1C2FGyh/IxRPhjawtzDmDwBXItjPyW HyY8FrZgBX3RshTIbVogVs05CMDudh2KTCYd8b9dBtwJOkvK71vTAxaWYvqH8AtANwt/ hdsGM8HisqpTjJ41d5P5MW5yO4pMuQNdLsBeB5C8BJ9Gft4gA4lpzXYlzfePhcmp2Toe mAQgMkksMtoz9DWMREt2E8UAmMRy3eRt/NemFHERy9ITwDXMINl8htXBCnQsYSV7UXUl UTxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+r97JKov8f9W3iKj+ETMVdUozOn9fpqzshHfymbE/qA=; b=ok4glT8nYjq54+uKF0dcgiM4o2OTOpebD9aoOFu6Kkh1kHvXo6wkSbAw4l3C6mPB5m n7OEycfE4Oo3oQhPVU3eEtfxnFg1iJsPYqJ6MHCZnNUpP8pAITCh8ae/mjPNHq/r8r7Z plO+Pb1e237RGAA1SBFgz+mvhpx+lPo3lOQLivOQzQuUQgc7N3Uh9OHV9gypz+uPuKio cklM6HwzdTO/jne7QExp5uVrW0jA7dcMMZa68jrELxsnfh0jGg7r7F637fB9QSpeGx/h I6yrbthXoPcgeiaV9JHHZkJaJJG9l3ceZuU6A67elpxwu9Nd1YVkDs3qJd4SX8TSw2TN 1OVA== X-Gm-Message-State: AElRT7GDqHapudBHv8toJsHC7ZKNarfyN2I+xzXxQeA9+9EsSunliC1s wkQ1S3UkqSU9+hzb/Pm2zdrF+MIJFw708hGE4ThJzbY2 X-Google-Smtp-Source: AIpwx49iQg30WPmknleOY3iR8YB/FAH5aP1dHhaUeWX1qrBzGTFTdGqlnTy86t2TQU9UGpd12LEMIdWFJLGClzKa1Hg= X-Received: by 10.28.91.65 with SMTP id p62mr4685352wmb.140.1522761091800; Tue, 03 Apr 2018 06:11:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.69.220 with HTTP; Tue, 3 Apr 2018 06:11:31 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Tue, 3 Apr 2018 14:11:31 +0100 Message-ID: Subject: Re: [pgadmin4][patch] #3244 Query elapse time granularity To: Joao De Almeida Pereira Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="001a1144161af478630568f171eb" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --001a1144161af478630568f171eb Content-Type: text/plain; charset="UTF-8" Thanks, patch applied. On Mon, Apr 2, 2018 at 11:24 PM, Joao De Almeida Pereira < jdealmeidapereira@pivotal.io> wrote: > Hi Hackers, > > Attached you can find a patch that increases the granularity of time > displayed for total run time of a query. > Also extracts the functionality, wraps it with tests. > An addon to this patch is the extraction of the function > call_render_after_poll that uses the function that calculates the time as > well > > > Thanks > Joao > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --001a1144161af478630568f171eb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, patch applied.
On Mon, Apr 2, 2018 at 11:24 PM, Joao De Almeid= a Pereira <jdealmeidapereira@pivotal.io> wrote:
Hi Hackers,

Attached you can find a patch that increases the granularity of time = displayed for total run time of a query.
Also extracts the functi= onality, wraps it with tests.
An addon to this patch is the extra= ction of the function call_render_after_poll=C2=A0 that uses the function t= hat calculates the time as well


Tha= nks
Joao



--
Dave Page
Blog: = http://pgsnake.bl= ogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com<= br>The Enterprise PostgreSQL Company
--001a1144161af478630568f171eb--