From c7b9f16113325eca806e81b29a10b70290cc164b Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Tue, 24 Mar 2026 09:32:15 -0500 Subject: [PATCH] test_bloomfilter: Fix error message. The error message in question uses the wrong format specifier and variable. This has been wrong for a while, but since it's in a test module and wasn't noticed until just now, no back-patch. Oversight in commit 51bc271790. Author: Jianghua Yang Discussion: https://postgr.es/m/CAAZLFmS2OMiwe65gdm-MKgO%3DLnKatGMSK6JWxhycGN3TWrhbnw%40mail.gmail.com --- src/test/modules/test_bloomfilter/test_bloomfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/modules/test_bloomfilter/test_bloomfilter.c b/src/test/modules/test_bloomfilter/test_bloomfilter.c index 4e072183604..df41066138c 100644 --- a/src/test/modules/test_bloomfilter/test_bloomfilter.c +++ b/src/test/modules/test_bloomfilter/test_bloomfilter.c @@ -125,7 +125,7 @@ test_bloomfilter(PG_FUNCTION_ARGS) elog(ERROR, "invalid number of tests: %d", tests); if (nelements < 0) - elog(ERROR, "invalid number of elements: %d", tests); + elog(ERROR, "invalid number of elements: " INT64_FORMAT, nelements); for (i = 0; i < tests; i++) {