Re: how do i find out how long a query took?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Darren Ferguson <darren(at)crystalballinc(dot)com>
Cc: Andy Kriger <akriger(at)greaterthanone(dot)com>, Pgsql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: how do i find out how long a query took?
Date: 2002-09-30 17:19:59
Message-ID: 200209301719.g8UHJxR11302@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Darren Ferguson wrote:
> select version();
> version
> -------------------------------------------------------------
> PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.96
> (1 row)
>
>
> \timing does not work gives following
>
> oss=> \timing
> Showing only tuples.
> \t: extra argument 'iming' ignored
>
> Any ideas ??? or was it just 7.2.2??

Oops, that is a 7.3 new feature. There isn't a way in 7.2.X. Perhaps
you can set your psql prompt to the current time but I can't figure out
how to do that either.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ibrahim Shaame 2002-09-30 17:20:24 Unsubscribe
Previous Message Josh Berkus 2002-09-30 17:18:48 Re: [GENERAL] arrays