Skip site navigation (1) Skip section navigation (2)

psql \timing vs failed statements

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: psql \timing vs failed statements
Date: 2012-01-17 15:01:23
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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


pgsql-hackers by date

Next:From: Marti RaudseppDate: 2012-01-17 15:12:50
Subject: Re: logging in high performance systems.
Previous:From: Peter GeogheganDate: 2012-01-17 14:46:07
Subject: Re: xlog location arithmetic

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group