Fix comment for GetCurrentIntegerTimestamp().
authorKevin Grittner <[email protected]>
Sun, 28 Jun 2015 17:43:59 +0000 (12:43 -0500)
committerKevin Grittner <[email protected]>
Sun, 28 Jun 2015 17:43:59 +0000 (12:43 -0500)
The unit of measure is microseconds, not milliseconds.

Backpatch to 9.3 where the function and its comment were added.

src/backend/utils/adt/timestamp.c

index dae929a24c88a669c8409d5b658dac2d96486cdc..23d3d2b65636ea72f79f237d614fe9f35e76acaf 100644 (file)
@@ -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.
  */