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

Commit f9b38ab

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 fc7f6e3 commit f9b38ab

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
@@ -1288,7 +1288,7 @@ GetCurrentTimestamp(void)
12881288
/*
12891289
* GetCurrentIntegerTimestamp -- get the current operating system time as int64
12901290
*
1291-
* Result is the number of milliseconds since the Postgres epoch. If compiled
1291+
* Result is the number of microseconds since the Postgres epoch. If compiled
12921292
* with --enable-integer-datetimes, this is identical to GetCurrentTimestamp(),
12931293
* and is implemented as a macro.
12941294
*/

0 commit comments

Comments
 (0)