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