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

From Robert Haas
Subject Re: psql \timing vs failed statements
Date
Msg-id CA+TgmobOCy0jAORFFHqnXnaBWgTR89VqyUTORR5Qb4NN=1NCcw@mail.gmail.com
Whole thread Raw
In response to psql \timing vs failed statements  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Tue, Jan 17, 2012 at 10:01 AM, Magnus Hagander <magnus@hagander.net> wrote:
> 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? ;)

I won't.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Should I implement DROP INDEX CONCURRENTLY?
Next
From: Fujii Masao
Date:
Subject: Re: Patch review for logging hooks (CF 2012-01)