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

psql \timing patch

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: psql \timing patch
Date: 2002-01-03 23:21:58
Message-ID: E16MH5r-0000Gg-00@maynard.mail.mindspring.net (view raw or flat)
Thread:
Lists: pgsql-patches
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Another stab at the \timing patch for psql. It simply 
shows how long each query takes.

Thanks to all those who have responded, on and off the list, 
especially Peter Eisentraut - most of the improvements 
are his.

I'm using \timing as opposed to \m, although this means 
I lose the startup flag - unless someone can think of 
another letter to use, since -t is aready taken and 
not all clients support long options (--timing). I'm not 
sure how useful it would be, but I for one would like to 
be able to turn it on with a startup flag.

Greg Sabino Mullane
greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200201031816

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iQA/AwUBPDTni7ybkGcUlkrIEQLj2wCgzXKQRjTuCKLw2cOpflnKdA7fkf0AoMXY
5p8BKG1JrrgViMVHaJHNQoeR
=4ZPX
-----END PGP SIGNATURE-----



Attachment: patch
Description: text/plain (3.7 KB)

Responses

pgsql-patches by date

Next:From: Gavin SherryDate: 2002-01-04 01:17:09
Subject: Re: Updated TODO item
Previous:From: Tom LaneDate: 2002-01-03 22:00:42
Subject: Re: pg_regress.sh startup failure patch

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