Fix comments in instr_time.h and remove an unneeded cast to int64

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 3dcb09de7bb21c75d4df48263561af324fd099a4
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-08-06T11:28:02Z
Releases: 18.0
Fix comments in instr_time.h and remove an unneeded cast to int64

03023a2664 represented time as an int64 on all platforms but forgot to
update the comment related to INSTR_TIME_GET_MICROSEC() and provided
an incorrect comment for INSTR_TIME_GET_NANOSEC().

In passing remove an unneeded cast to int64.

Author: Bertrand Drouvot
Discussion: https://www.postgresql.org/message-id/ZrHkv3MAQfwNSmTG@ip-10-97-1-34.eu-west-3.compute.internal

Files

PathChange+/−
src/include/portability/instr_time.h modified +3 −3

Discussion