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

Commit f9f7150

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 9a43799 commit f9f7150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/timestamp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ GetCurrentTimestamp(void)
15771577
/*
15781578
* GetCurrentIntegerTimestamp -- get the current operating system time as int64
15791579
*
1580-
* Result is the number of milliseconds since the Postgres epoch. If compiled
1580+
* Result is the number of microseconds since the Postgres epoch. If compiled
15811581
* with --enable-integer-datetimes, this is identical to GetCurrentTimestamp(),
15821582
* and is implemented as a macro.
15831583
*/

0 commit comments

Comments
 (0)