From 8b737f90843157706b8b5eb401b2aff08da77781 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Fri, 8 Apr 2016 12:31:44 -0400
Subject: [PATCH] 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))));
 	}
 
-- 
GitLab