psql \timing vs failed statements - Mailing list pgsql-hackers

From Magnus Hagander
Subject psql \timing vs failed statements
Date
Msg-id CABUevExovt-R1gB32OSE-m-G0+y4sRfYXJ5JZA5enJdLeaz8cA@mail.gmail.com
Whole thread Raw
Responses Re: psql \timing vs failed statements  (Robert Haas <robertmhaas@gmail.com>)
Re: psql \timing vs failed statements  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
Right now, psql \timing output only gives output for successful
queries. Is there any actual reason for this, or just a "it happened"?

In particular,I just had a very long run of a CREATE UNIQUE INDEX fail
pretty far in - and I would've really liked to have timing output for
that one even though it failed.

Thus - if I were to change psql to output timing on failed queries as
well, will anybody object? ;)

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: xlog location arithmetic
Next
From: Marti Raudsepp
Date:
Subject: Re: logging in high performance systems.