Re: Fix comments in instr_time.h and remove an unneeded cast to int64 - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Fix comments in instr_time.h and remove an unneeded cast to int64
Date
Msg-id d398f38f-2444-451e-8fc4-58a9878541df@iki.fi
Whole thread Raw
In response to Fix comments in instr_time.h and remove an unneeded cast to int64  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Responses Re: Fix comments in instr_time.h and remove an unneeded cast to int64
List pgsql-hackers
On 06/08/2024 11:54, Bertrand Drouvot wrote:
> Hi hackers,
> 
> While working on [1], I came across what seems to be incorrect comments in
> instr_time.h and an unneeded cast to int64.
> 
> Indeed, 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().
> 
> Please find attached a tiny patch to correct those and, in passing, remove what
> I think is an unneeded cast to int64.

Applied, thanks!

-- 
Heikki Linnakangas
Neon (https://neon.tech)




pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Memory growth observed with C++ application consuming libpq.dll on Windows
Next
From: vignesh C
Date:
Subject: Re: Logical Replication of sequences