v24-review-0003.elogfix.txt

text/plain

Filename: v24-review-0003.elogfix.txt
Type: text/plain
Part: 2
Message: Re: Draft for basic NUMA observability
diff --git a/src/backend/storage/ipc/shmem.c b/src/backend/storage/ipc/shmem.c
index 4313e6db62c..e26af975a7d 100644
--- a/src/backend/storage/ipc/shmem.c
+++ b/src/backend/storage/ipc/shmem.c
@@ -677,7 +677,7 @@ pg_get_shmem_allocations_numa(PG_FUNCTION_ARGS)
 			if (s >= 0 && s <= max_nodes)
 				nodes[s]++;
 			else
-				elog(ERROR, "invalid NUMA node id outside of allowed range [0, %ld]: %d", max_nodes, s);
+				elog(ERROR, "invalid NUMA node id outside of allowed range [0, " UINT64_FORMAT "]: %d", max_nodes, s);
 		}
 
 		for (i = 0; i <= max_nodes; i++)