Re: Time measurement format - more human readable

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Gregory Smith <gregsmithpgsql(at)gmail(dot)com>
Cc: Bogdan Pilch <bogdan(at)matfyz(dot)cz>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Time measurement format - more human readable
Date: 2014-09-29 05:08:30
Message-ID: 20140929050830.GJ5423@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2014-09-28 20:32:30 -0400, Gregory Smith wrote:
> On 9/28/14, 7:49 AM, Bogdan Pilch wrote:
> >I have created a small patch to postgres source (in particular the
> >psql part of it) that modifies the way time spent executing the SQL
> >commands is printed out.
> >
> >The idea is to have a human readable time printed
>
> There are already a wide range of human readable time interval output
> formats available in the database; see the list at http://www.postgresql.org/docs/current/static/datatype-datetime.html#INTERVAL-STYLE-OUTPUT-TABLE

He's talking about psql's \timing...

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-09-29 05:16:23 Re: Time measurement format - more human readable
Previous Message Craig Ringer 2014-09-29 04:14:32 Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}