Re: Fix comments in instr_time.h and remove an unneeded cast to int64

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Tom Lane <tgl@sss.pgh.pa.us>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-08-06T19:18:45Z
Lists: pgsql-hackers
On 06/08/2024 18:16, Tom Lane wrote:
> Heikki Linnakangas <hlinnaka@iki.fi> writes:
>> Hmm, ok I see. Then I propose:
> 
>> 1. Revert
>> 2. Just fix the comment to say int64 instead of uint64.
> 
> Yeah, it's probably reasonable to specify the output as int64
> not uint64 (especially since it looks like that's what the
> macros actually produce).

Committed

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




Commits

  1. Fix datatypes in comments in instr_time.h

  2. Revert "Fix comments in instr_time.h and remove an unneeded cast to int64"

  3. Fix comments in instr_time.h and remove an unneeded cast to int64