Thread: [pgadmin4][patch] #3244 Query elapse time granularity

[pgadmin4][patch] #3244 Query elapse time granularity

From
Joao De Almeida Pereira
Date:
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
Attachment

Re: [pgadmin4][patch] #3244 Query elapse time granularity

From
Robert Eckhardt
Date:


On Mon, Apr 2, 2018 at 6: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


This was an issue pointed out in an email I can't find. Basically it pointed out something we thought we had done in the first place. 

-- Rob
 
Thanks
Joao

Re: [pgadmin4][patch] #3244 Query elapse time granularity

From
Dave Page
Date:
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