Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    b5f7cff8
    Clean up the rather historically encumbered interface to now() and · b5f7cff8
    Tom Lane authored
    current time: provide a GetCurrentTimestamp() function that returns
    current time in the form of a TimestampTz, instead of separate time_t
    and microseconds fields.  This is what all the callers really want
    anyway, and it eliminates low-level dependencies on AbsoluteTime,
    which is a deprecated datatype that will have to disappear eventually.
    b5f7cff8
    History
    Clean up the rather historically encumbered interface to now() and
    Tom Lane authored
    current time: provide a GetCurrentTimestamp() function that returns
    current time in the form of a TimestampTz, instead of separate time_t
    and microseconds fields.  This is what all the callers really want
    anyway, and it eliminates low-level dependencies on AbsoluteTime,
    which is a deprecated datatype that will have to disappear eventually.