Re: Time Stamp - Mailing list pgsql-general

From Hrishikesh Deshmukh
Subject Re: Time Stamp
Date
Msg-id 829d7fb60503210838151a6e74@mail.gmail.com
Whole thread Raw
In response to Re: Time Stamp  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Hi,

I want to know how long did it take for my query to run!

Thanks,
Hrishi


On Mon, 21 Mar 2005 15:57:38 +0000, Richard Huxton <dev@archonet.com> wrote:
> Hrishikesh Deshmukh wrote:
> > Hi All,
> >
> > I want to get a "timestamp" of the queries that i run!
> > Is there a builtin command to do this/ does one need to write a
> > function/stored procedure!
> > Any pointers will help.
>
> You don't say where you want this "timestamp".
>
> In psql look into "\timing" (see the man page)
> To record this in the logs, see the configuration section of the manual,
> specifically "Error Reporting and Logging"
>
> --
>    Richard Huxton
>    Archonet Ltd
>

pgsql-general by date:

Previous
From: Stephen Howie
Date:
Subject: Re: Help with transactions
Next
From: Miles Keaton
Date:
Subject: PostgreSQL users, tell your tale on Slashdot