Re: PRI?64 vs Visual Studio (2022) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: PRI?64 vs Visual Studio (2022)
Date
Msg-id 4d8b1a67-aab2-4429-b44b-f03988095939@eisentraut.org
Whole thread Raw
In response to Re: PRI?64 vs Visual Studio (2022)  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On 19.11.25 03:13, Thomas Munro wrote:
> Interesting report though.  Commit 962da900 assumed that our in-tree
> printf implementation still needed to understand that %I64 stuff in
> case it came to us from system headers, but it looks like it
> disappeared with MSVCRT:
> 
> 1. I checked with CI (VS 2019).  puts(PRId64) prints out "lld".
> 2. MinGW's inttypes.h[1] only uses "I64" et al if you build against MSVCRT.
> 
> So I think we should delete that stuff.  Attached.

Looks good to me.



pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: gen_guc_tables.pl: Validate required GUC fields before code generation
Next
From: shveta malik
Date:
Subject: Re: POC: enable logical decoding when wal_level = 'replica' without a server restart