aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-06-13 08:59:47 +0900
committerMichael Paquier <michael@paquier.xyz>2025-06-13 08:59:47 +0900
commit2c76c6ac470fb0b5bcaec095c1ed90e45cebba75 (patch)
tree96d2319e9c3654e1177bf0c2352a56ac876bd291
parent84914e964b447a63c5208ca2ec11ec3abfda0879 (diff)
downloadpostgresql-2c76c6ac470fb0b5bcaec095c1ed90e45cebba75.tar.gz
postgresql-2c76c6ac470fb0b5bcaec095c1ed90e45cebba75.zip
Replace %llu by PRIu64 in AIO io_uring code
This is a continuation of 15a79c73111f, cleaning up the AIO io_uring code that has been committed after that while still using %llu. The code changed here is new in v18, so cleaning things now means less conflicts if this area of the code changes on backpatch once the 18 stable branch is created. Reviewed-by: Nathan Bossart <nathandbossart@gmail.com> Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/aEZcGCnYFq642q8k@paquier.xyz
-rw-r--r--src/backend/storage/aio/method_io_uring.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/storage/aio/method_io_uring.c b/src/backend/storage/aio/method_io_uring.c
index cc312b641ca..b78048328e1 100644
--- a/src/backend/storage/aio/method_io_uring.c
+++ b/src/backend/storage/aio/method_io_uring.c
@@ -400,9 +400,9 @@ pgaio_uring_wait_one(PgAioHandle *ioh, uint64 ref_generation)
while (true)
{
pgaio_debug_io(DEBUG3, ioh,
- "wait_one io_gen: %llu, ref_gen: %llu, cycle %d",
- (long long unsigned) ioh->generation,
- (long long unsigned) ref_generation,
+ "wait_one io_gen: %" PRIu64 ", ref_gen: %" PRIu64 ", cycle %d",
+ ioh->generation,
+ ref_generation,
waited);
if (pgaio_io_was_recycled(ioh, ref_generation, &state) ||