git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6e086fa) | patch
Revert "Fix comments in instr_time.h and remove an unneeded cast to int64"
Tue, 6 Aug 2024 19:15:46 +0000 (22:15 +0300)
Tue, 6 Aug 2024 19:15:46 +0000 (22:15 +0300)
commit 39a138fbef87803ab7fe494243c1ba36a093a0e8
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 diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /