Re: how to get current sql execution time?

From: bricklen <bricklen(at)gmail(dot)com>
To: sunpeng <bluevaley(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to get current sql execution time?
Date: 2010-10-14 22:51:54
Message-ID: AANLkTikutMMj0zbU39F1Owe8mxHr8LxeQSuQnuybAeex@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Oct 14, 2010 at 3:47 PM, sunpeng <bluevaley(at)gmail(dot)com> wrote:
> when I use the psql to send a sql, how to get current sql execution time?
>

At the psql prompt:

# \timing
Timing is on.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2010-10-14 22:52:06 Re: how to get current sql execution time?
Previous Message Rob Sargent 2010-10-14 22:50:58 Re: how to get current sql execution time?