Fix datatypes in comments in instr_time.h

The INSTR_TIME_GET_NANOSEC(t) and INSTR_TIME_GET_MICROSEC(t) macros
return a signed int64.

Discussion: https://www.postgresql.org/message-id/ZrHkv3MAQfwNSmTG@ip-10-97-1-34.eu-west-3.compute.internal
This commit is contained in:
Heikki Linnakangas 2024-08-06 22:15:55 +03:00
parent 39a138fbef
commit a54d4ed183
1 changed files with 2 additions and 2 deletions

View File

@ -32,9 +32,9 @@
*
* INSTR_TIME_GET_MILLISEC(t) convert t to double (in milliseconds)
*
* INSTR_TIME_GET_MICROSEC(t) convert t to uint64 (in microseconds)
* INSTR_TIME_GET_MICROSEC(t) convert t to int64 (in microseconds)
*
* INSTR_TIME_GET_NANOSEC(t) convert t to uint64 (in nanoseconds)
* INSTR_TIME_GET_NANOSEC(t) convert t to int64 (in nanoseconds)
*
* Note that INSTR_TIME_SUBTRACT and INSTR_TIME_ACCUM_DIFF convert
* absolute times to intervals. The INSTR_TIME_GET_xxx operations are