Re: Remove unnecessary casts in printf format arguments - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Re: Remove unnecessary casts in printf format arguments
Date
Msg-id aTGR45Ji/HinAxzZ@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
In response to Remove unnecessary casts in printf format arguments  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
Hi,

On Thu, Dec 04, 2025 at 01:19:07PM +0100, Peter Eisentraut wrote:
> Attached are some patches to remove unnecessary casts in printf format
> arguments.  Many of these are apparently left over from before use of
> %zu/%zd and PRIu64/PRId64 were possible.  Additionally, there are a few
> where the cast just cast to the type the input already had, or it just
> uselessly cast to a different type instead of using the right format
> argument.

I did look at all of them and did not see any issues, so that LGTM.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Antonin Houska
Date:
Subject: Re: Adding REPACK [concurrently]
Next
From: Heikki Linnakangas
Date:
Subject: Re: IPC/MultixactCreation on the Standby server