1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Add \timing patch to psql. Times all queries.

Greg Sabino Mullane
This commit is contained in:
Bruce Momjian
2002-03-05 00:01:03 +00:00
parent 294f0d4bd6
commit 25b0b09fd3
6 changed files with 57 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.61 2001/12/08 03:24:38 thomas Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.62 2002/03/05 00:00:58 momjian Exp $
PostgreSQL documentation
-->
@ -1119,6 +1119,16 @@ lo_import 152801
</varlistentry>
<varlistentry>
<term><literal>\timing</literal>
<listitem>
<para>
Toggles a display of how long each query takes in seconds.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>\w</literal> {<replaceable class="parameter">filename</replaceable> | <replaceable class="parameter">|command</replaceable>}</term>
<listitem>