pgsql: Fix comments in instr_time.h and remove an unneeded cast to int6 - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix comments in instr_time.h and remove an unneeded cast to int6
Date
Msg-id E1sbIN5-002wRK-96@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3dcb09de7bb21c75d4df48263561af324fd099a4

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


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Remove unnecessary declaration of heapam_methods
Next
From: Nathan Bossart
Date:
Subject: pgsql: Remove volatile qualifiers from pg_stat_statements.c.