pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brendan Jurd <direvus@gmail.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: gettime() - a timeofday() alternative
Date: Sat, 13 Aug 2005 16:30:03 +1000
Message-ID: <37ed240d0508122330105cbf1@mail.gmail.com> (raw)
In-Reply-To: <200508130234.j7D2Y8G01356@candle.pha.pa.us>
References: <37ed240d05080623101d1094a1@mail.gmail.com>
	<200508130234.j7D2Y8G01356@candle.pha.pa.us>

> We already have a TODO for this:
> 
>         * Add transaction_timestamp(), statement_timestamp(), clock_timestamp()
>           functionality

I like the idea of having a function for statement start time.  I
think I'll incorporate it into my patch.

The suggested naming convention in the TODO is good as well.  I'd be
inclined to make those  *_timestamp() functions the core functions,
and then make things like now() and gettime() shorthand equivalents.



view thread (12+ messages)  latest in thread

Message-ID: <37ed240d0508122330105cbf1@mail.gmail.com>
Permalink:  ../37ed240d0508122330105cbf1@mail.gmail.com/
Also on:    postgresql.org/message-id/37ed240d0508122330105cbf1@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: direvus@gmail.com, pgman@candle.pha.pa.us
  Subject: Re: gettime() - a timeofday() alternative
  In-Reply-To: <37ed240d0508122330105cbf1@mail.gmail.com>
  References: <37ed240d05080623101d1094a1@mail.gmail.com> <200508130234.j7D2Y8G01356@candle.pha.pa.us> <37ed240d0508122330105cbf1@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