aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regcomp.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-09-03 15:29:03 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-09-03 15:29:03 -0400
commit6591f4226c81104f7746da6a5c00519919c560ae (patch)
tree28c7b49a8cbed6a0c3d8240eb034cc12071eec80 /src/backend/regex/regcomp.c
parent600dc4c0da3b8c094ccc1ae75b47c8320898c714 (diff)
downloadpostgresql-6591f4226c81104f7746da6a5c00519919c560ae.tar.gz
postgresql-6591f4226c81104f7746da6a5c00519919c560ae.zip
Improve readability of the output of psql's \timing command.
In addition to the existing decimal-milliseconds output value, display the same value in mm:ss.fff format if it exceeds one second. Tack on hours and even days fields if the interval is large enough. This avoids needing mental arithmetic to convert the values into customary time units. Corey Huinker, reviewed by Gerdan Santos; bikeshedding by many Discussion: <CADkLM=dbC4R8sbbuFXQVBFWoJGQkTEW8RWnC0PbW9nZsovZpJQ@mail.gmail.com>
Diffstat (limited to 'src/backend/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions