Peter Eisentraut wrote:
> Bruce Momjian writes:
> 
> > We have started 7.5 development so we can now work with you to complete
> > this item.  Your question was what does statement_timestamp() show.
> > That has been discussed and it is a little tricky.  The idea is that is
> > should be start of a single statement that arrives from the user or is
> > requestd by a client.  However, this gets muddled because SPI can issue
> > queries and plpgsql functions can too.
> 
> Are these supposed to be user-visible functions?  What are they supposed
> to do?

Yes, user-visible.  They give additional current timestamp information. 
transaction_timestamp() is the same as current_timestamp,
clock_timestamp is the same as gettimeofday(), and statement_timestamp
is a new one that shows statement start time.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to