• Tom Lane's avatar
    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
pgstat.h 10.9 KB