* number.
*/
if (*parentblkno == InvalidBlockNumber)
- elog(ERROR, "no parent buffer provided of child %d", childblkno);
+ elog(ERROR, "no parent buffer provided of child %u", childblkno);
parent = *parentblkno;
}
HASH_FIND,
&found);
if (!found)
- elog(ERROR, "could not find parent of block %d in lookup table", child);
+ elog(ERROR, "could not find parent of block %u in lookup table", child);
return entry->parentblkno;
}
lazy_vacuum_heap_rel(LVRelState *vacrel)
{
int tupindex;
- int vacuumed_pages;
+ BlockNumber vacuumed_pages;
PGRUsage ru0;
Buffer vmbuffer = InvalidBuffer;
LVSavedErrInfo saved_err_info;
{
ereport(WARNING,
(errmsg("could not verify checksum in file \"%s\", block "
- "%d: read buffer size %d and page size %d "
+ "%u: read buffer size %d and page size %d "
"differ",
readfilename, blkno, (int) cnt, BLCKSZ)));
verify_checksum = false;
if (checksum_failures <= 5)
ereport(WARNING,
(errmsg("checksum verification failed in "
- "file \"%s\", block %d: calculated "
+ "file \"%s\", block %u: calculated "
"%X but expected %X",
readfilename, blkno, checksum,
phdr->pd_checksum)));