Fix comment for GetCurrentIntegerTimestamp().
authorKevin Grittner
Sun, 28 Jun 2015 17:45:41 +0000 (12:45 -0500)
committerKevin Grittner
Sun, 28 Jun 2015 17:45:41 +0000 (12:45 -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 410bf47483e860c8a01a7cfe8798df4a7592d74a..e539bcb97d7800afdc1ea1df2bdc250a8b639a1e 100644 (file)
@@ -1577,7 +1577,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.
  */