aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-04-08 12:31:44 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-04-08 12:34:33 -0400
commit8b737f90843157706b8b5eb401b2aff08da77781 (patch)
treec8b09a49a27696be7272d575c433e693cf505522
parent93c301fc4ff7d4f06bff98fea8db47ce67f28155 (diff)
downloadpostgresql-8b737f90843157706b8b5eb401b2aff08da77781.tar.gz
postgresql-8b737f90843157706b8b5eb401b2aff08da77781.zip
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 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))));
}