1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Replace %llu by PRIu64 in AIO io_uring code

This is a continuation of 15a79c7311, 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
This commit is contained in:
Michael Paquier
2025-06-13 08:59:47 +09:00
parent 84914e964b
commit 2c76c6ac47

View File

@ -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) ||