pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Karl O. Pinc <kop@meme.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance analysis of plpgsql code
Date: Mon, 27 Jun 2005 17:33:03 -0600
Message-ID: <20050627233303.GA17069@winnie.fuhr.org> (raw)
In-Reply-To: <1119915045l.4428l.5l@mofo>
References: <1119915045l.4428l.5l@mofo>

On Mon, Jun 27, 2005 at 11:30:45PM +0000, Karl O. Pinc wrote:
> 
> Short of that I think I'm going to be reduced to
> writing a C function that returns the real
> system time so I can spatter my code with
> RAISE statements that indicate actual execution
> time.

See timeofday().

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

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (8+ messages)  latest in thread

Message-ID: <20050627233303.GA17069@winnie.fuhr.org>
Permalink:  ../20050627233303.GA17069@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050627233303.GA17069@winnie.fuhr.org

 · 

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-performance@postgresql.org
  Cc: mike@fuhr.org, kop@meme.com
  Subject: Re: Performance analysis of plpgsql code
  In-Reply-To: <20050627233303.GA17069@winnie.fuhr.org>

* 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