pgsql: Fix comments in instr_time.h and remove an unneeded cast to int6

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix comments in instr_time.h and remove an unneeded cast to int6
Date: 2024-08-06 11:28:55
Message-ID: E1sbIN5-002wRK-96@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2024-08-06 15:57:54 pgsql: Remove volatile qualifiers from pg_stat_statements.c.
Previous Message Michael Paquier 2024-08-06 07:35:19 pgsql: Remove unnecessary declaration of heapam_methods