| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Remove unnecessary casts in printf format arguments |
| Date: | 2025-12-09 06:45:41 |
| Message-ID: | 16d1033a-1569-419d-90aa-5f3da9a8f2bf@eisentraut.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 04.12.25 14:51, Bertrand Drouvot wrote:
> 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.
committed, thanks
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bertrand Drouvot | 2025-12-09 07:27:03 | Re: Safer hash table initialization macro |
| Previous Message | Dilip Kumar | 2025-12-09 06:36:34 | Re: Proposal: Conflict log history table for Logical Replication |