From: Kevin Grittner Date: Sun, 28 Jun 2015 17:43:59 +0000 (-0500) Subject: Fix comment for GetCurrentIntegerTimestamp(). X-Git-Tag: XL9_5_R1BETA1~216^2~14 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=cca8ba9529f8815acd23fe88c32763765d0e1b68;p=postgres-xl.git Fix comment for GetCurrentIntegerTimestamp(). The unit of measure is microseconds, not milliseconds. Backpatch to 9.3 where the function and its comment were added. --- diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c index dae929a24c..23d3d2b656 100644 --- a/src/backend/utils/adt/timestamp.c +++ b/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. */