pgsql: Revert "Fix comments in instr_time.h and remove an unneeded cast

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Revert "Fix comments in instr_time.h and remove an unneeded cast
Дата
Msg-id E1sbPhu-0030bl-LJ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/39a138fbef87803ab7fe494243c1ba36a093a0e8

Modified Files
--------------
src/include/portability/instr_time.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


В списке pgsql-committers по дате отправления: