postgres.git / summary / log / commit / refs

commit    f9f71503767f0212a1d4141a2370dfc63c7ec050
Author:   Kevin Grittner <kgrittn@postgresql.org>
Date:     Sun Jun 28 17:45:41 2015 +0000
First released in: 9.5.0, 9.3.10, 9.4.5

    Fix comment for GetCurrentIntegerTimestamp().
    
    The unit of measure is microseconds, not milliseconds.
    
    Backpatch to 9.3 where the function and its comment were added.


src/backend/utils/adt/timestamp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c index 410bf47483e..e539bcb97d7 100644 --- a/src/backend/utils/adt/timestamp.c +++ b/src/backend/utils/adt/timestamp.c @@ -1577,7 +1577,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. */ [parent: 9a437994400f]