pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rodrigo De León <rdeleonp@gmail.com>
To: PostgreSQL <pgsql-sql@postgresql.org>
To: Pgadmin-Support <pgadmin-support@postgresql.org>
Subject: Re: [SQL] Time of executed query
Date: Tue, 6 Mar 2007 10:39:25 -0500
Message-ID: <a55915760703060739p7e5396fat996cf4ca806f2c5e@mail.gmail.com> (raw)
In-Reply-To: <55c095e90703060520s3e4a1feej65f56cee46fd6700@mail.gmail.com>
References: <55c095e90703060520s3e4a1feej65f56cee46fd6700@mail.gmail.com>

On 3/6/07, Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com> wrote:
> Hi list,
>
> It is possible to retrieve the time of a SQL statement leads to
> execute ? I would like to put in my application how much time each
> operation leads to finish.
>
> Any suggestion ?
>
> --
> Ezequias Rodrigues da Rocha
> http://ezequiasrocha.blogspot.com/
> use Mozilla Firefox:http://br.mozdev.org/firefox/

Sorry, didn't see the app part.

Use clock_timestamp().

See:

http://www.postgresql.org/docs/8.2/static/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT



view thread (10+ messages)

Message-ID: <a55915760703060739p7e5396fat996cf4ca806f2c5e@mail.gmail.com>
Permalink:  ../a55915760703060739p7e5396fat996cf4ca806f2c5e@mail.gmail.com/
Also on:    postgresql.org/message-id/a55915760703060739p7e5396fat996cf4ca806f2c5e@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rdeleonp@gmail.com, pgadmin-support@postgresql.org
  Subject: Re: [SQL] Time of executed query
  In-Reply-To: <a55915760703060739p7e5396fat996cf4ca806f2c5e@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox