Revert "Fix comments in instr_time.h and remove an unneeded cast to int64"
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 6 Aug 2024 19:15:46 +0000 (22:15 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 6 Aug 2024 19:15:46 +0000 (22:15 +0300)
commit39a138fbef87803ab7fe494243c1ba36a093a0e8
tree5ce28ede5c38808a082a184138e7da4e30eec24b
parent6e086fa2e771ad4c0b2d3cca4e2de209a92c719b
Revert "Fix comments in instr_time.h and remove an unneeded cast to int64"

This reverts commit 3dcb09de7b. Tom Lane pointed out that it broke the
abstraction provided by the macros. The callers should not need to
know what the internal type is.

This commit is an exact revert, the next commit will fix the comments
on the macros that incorrectly claim that they return uint64.

Discussion: https://www.postgresql.org/message-id/ZrHkv3MAQfwNSmTG@ip-10-97-1-34.eu-west-3.compute.internal
src/include/portability/instr_time.h