postgres.git / summary / log / commit / refs
commit 8b737f90843157706b8b5eb401b2aff08da77781
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Fri Apr 08 16:31:44 2016 +0000
Fix printf format
contrib/pageinspect/heapfuncs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/pageinspect/heapfuncs.c b/contrib/pageinspect/heapfuncs.c
index c30ed407be6..38eb9783a54 100644
--- a/contrib/pageinspect/heapfuncs.c
+++ b/contrib/pageinspect/heapfuncs.c
@@ -459,7 +459,7 @@ tuple_data_split(PG_FUNCTION_ARGS)
if (t_bits_str)
ereport(ERROR,
(errcode(ERRCODE_DATA_CORRUPTED),
- errmsg("t_bits string is expected to be NULL, but instead it is %lu bytes length",
+ errmsg("t_bits string is expected to be NULL, but instead it is %zu bytes length",
strlen(t_bits_str))));
}
[parent: 93c301fc4ff7]