Clean up int64-related format strings
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2025-12-09T06:33:08Z
Releases:
19 (unreleased)
Clean up int64-related format strings Remove some gratuitous uses of INT64_FORMAT. Make use of PRIu64/PRId64 were appropriate, remove unnecessary casts. Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/07fa29f9-42d7-4aac-8834-197918cbbab6%40eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| contrib/isn/isn.c | modified | +4 −22 |
| contrib/isn/isn.h | modified | +0 −2 |
| contrib/pageinspect/btreefuncs.c | modified | +5 −6 |
| src/backend/backup/basebackup.c | modified | +2 −2 |
| src/bin/pg_rewind/pg_rewind.c | modified | +3 −3 |
Discussion
- Remove unnecessary casts in printf format arguments 3 messages · 2025-12-04 → 2025-12-09