Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cca8ba9

Browse files
committed
Fix comment for GetCurrentIntegerTimestamp().
The unit of measure is microseconds, not milliseconds. Backpatch to 9.3 where the function and its comment were added.
1 parent 527e6d3 commit cca8ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/timestamp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,7 @@ GetCurrentTimestamp(void)
15701570
/*
15711571
* GetCurrentIntegerTimestamp -- get the current operating system time as int64
15721572
*
1573-
* Result is the number of milliseconds since the Postgres epoch. If compiled
1573+
* Result is the number of microseconds since the Postgres epoch. If compiled
15741574
* with --enable-integer-datetimes, this is identical to GetCurrentTimestamp(),
15751575
* and is implemented as a macro.
15761576
*/

0 commit comments

Comments
 (0)