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);
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 */
initStringInfo(&namebuf);
appendStringInfoString(&namebuf, tempname);
- appendStringInfo(&namebuf, "_%i", n);
+ appendStringInfo(&namebuf, "_%d", n);
return namebuf.data;
}
argv0_len = strlcpy(saved_argv0, argv[0], MAXPGPATH);
if (argv0_len >= MAXPGPATH)
{
- fprintf(stderr, _("path for isolationtester executable is longer than %i bytes\n"),
+ fprintf(stderr, _("path for isolationtester executable is longer than %d bytes\n"),
(int) (MAXPGPATH - 1));
exit(2);
}