Re: gettime() - a timeofday() alternative - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: gettime() - a timeofday() alternative
Date
Msg-id 37ed240d0508122330105cbf1@mail.gmail.com
Whole thread Raw
In response to Re: gettime() - a timeofday() alternative  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
> 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.


pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: psql SET/RESET/SHOW tab completion
Next
From: Marko Kreen
Date:
Subject: Re: openbsd, plpython, missing threading symbols