Fix comment for GetCurrentIntegerTimestamp().
authorKevin Grittner <kgrittn@postgresql.org>
Sun, 28 Jun 2015 17:46:03 +0000 (12:46 -0500)
committerKevin Grittner <kgrittn@postgresql.org>
Sun, 28 Jun 2015 17:46:03 +0000 (12:46 -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 8c0fa861bd9f5c66c8bd88ae8c1137a14872540d..05ae1de5de90c6eebb4f1b9f29c387c4fbaf8a5b 100644 (file)
@@ -1288,7 +1288,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.
  */