From: Kevin Grittner Date: Sun, 28 Jun 2015 17:46:03 +0000 (-0500) Subject: Fix comment for GetCurrentIntegerTimestamp(). X-Git-Tag: REL9_3_10~128 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9b38ab6536e0c175cf94bea0c8f2a3d9fed175a;p=thirdparty%2Fpostgresql.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 8c0fa861bd9..05ae1de5de9 100644 --- a/src/backend/utils/adt/timestamp.c +++ b/src/backend/utils/adt/timestamp.c @@ -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. */