summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/timestamp.c
diff options
context:
space:
mode:
authorKevin Grittner <kgrittn@postgresql.org>2015-06-28 12:45:41 -0500
committerKevin Grittner <kgrittn@postgresql.org>2015-06-28 12:45:41 -0500
commitf9f71503767f0212a1d4141a2370dfc63c7ec050 (patch)
treed5ff34a805065851ffb6a499b86e605ece678465 /src/backend/utils/adt/timestamp.c
parent9a437994400f5fdadac103fc5df0c5d622d5c8be (diff)
Fix comment for GetCurrentIntegerTimestamp().
The unit of measure is microseconds, not milliseconds. Backpatch to 9.3 where the function and its comment were added.
Diffstat (limited to 'src/backend/utils/adt/timestamp.c')
-rw-r--r--src/backend/utils/adt/timestamp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c
index 410bf47483e..e539bcb97d7 100644
--- a/src/backend/utils/adt/timestamp.c
+++ b/src/backend/utils/adt/timestamp.c
@@ -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.
*/