Fix comment for GetCurrentIntegerTimestamp().

The unit of measure is microseconds, not milliseconds.

Backpatch to 9.3 where the function and its comment were added.
pull/14/head
Kevin Grittner 10 years ago
parent 527e6d3f09
commit cca8ba9529
  1. 2
      src/backend/utils/adt/timestamp.c

@ -1570,7 +1570,7 @@ GetCurrentTimestamp(void)
/*
* GetCurrentIntegerTimestamp -- get the current operating system time as int64
*
* Result is the number of milliseconds since the Postgres epoch. If compiled
* Result is the number of microseconds since the Postgres epoch. If compiled
* with --enable-integer-datetimes, this is identical to GetCurrentTimestamp(),
* and is implemented as a macro.
*/

Loading…
Cancel
Save