1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Replace printf format %i by %d

see also ce8d7bb644
This commit is contained in:
Peter Eisentraut
2016-04-08 12:40:15 -04:00
parent 01a07e6c11
commit 339025c68f
3 changed files with 4 additions and 4 deletions

View File

@ -436,7 +436,7 @@ tuple_data_split(PG_FUNCTION_ARGS)
if (!t_bits_str)
ereport(ERROR,
(errcode(ERRCODE_DATA_CORRUPTED),
errmsg("argument of t_bits is null, but it is expected to be null and %i character long",
errmsg("argument of t_bits is null, but it is expected to be null and %d character long",
bits_len * 8)));
bits_str_len = strlen(t_bits_str);
@ -448,7 +448,7 @@ tuple_data_split(PG_FUNCTION_ARGS)
if (bits_len * 8 != bits_str_len)
ereport(ERROR,
(errcode(ERRCODE_DATA_CORRUPTED),
errmsg("unexpected length of t_bits %u, expected %i",
errmsg("unexpected length of t_bits %u, expected %d",
bits_str_len, bits_len * 8)));
/* do the conversion */