summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2016-04-08 16:31:44 +0000
committerPeter Eisentraut2016-04-08 16:34:33 +0000
commit8b737f90843157706b8b5eb401b2aff08da77781 (patch)
treec8b09a49a27696be7272d575c433e693cf505522
parent93c301fc4ff7d4f06bff98fea8db47ce67f28155 (diff)
Fix printf format
-rw-r--r--contrib/pageinspect/heapfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pageinspect/heapfuncs.c b/contrib/pageinspect/heapfuncs.c
index c30ed407be..38eb9783a5 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))));
}