Re: how do i find out how long a query took? - Mailing list pgsql-general

From scott.marlowe
Subject Re: how do i find out how long a query took?
Date
Msg-id Pine.LNX.4.33.0209301228210.22182-100000@css120.ihs.com
Whole thread Raw
In response to Re: how do i find out how long a query took?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
On Mon, 30 Sep 2002, Bruce Momjian wrote:

> 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.

explain analyze in 7.2 should tell you how long the query took to run, but
won't give you the result set.


pgsql-general by date:

Previous
From: "Ben-Nes Michael"
Date:
Subject: Major Problem with locale
Next
From: Jean-Luc Lachance
Date:
Subject: Re: [SQL] CURRENT_TIMESTAMP