Re: [GENERAL] CURRENT_TIMESTAMP

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: John Hasler <john@dhh.gt.org>, pgsql-sql@postgresql.org
Date: 2002-09-24T03:44:37Z
Lists: pgsql-hackers, pgsql-general, pgsql-sql
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Can I add TODO items for this:
> 	o Make CURRENT_TIMESTAMP/now() return statement start time
> 	o Add TRANSACTION_TIMESTAMP to return transaction start time

I object to both of those as phrased.  If you have already unilaterally
determined the design of this feature change, then go ahead and put that
in.  But I'd suggest

	o Revise current-time functions to allow access to statement
	  start time

which doesn't presuppose the vote about how to do it.

			regards, tom lane