1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-10 17:42:29 +03:00

Use correct format placeholder for block numbers

Should be %u rather than %d.
This commit is contained in:
Peter Eisentraut
2021-04-17 09:40:50 +02:00
parent f24b156997
commit f59b58e2a1
3 changed files with 5 additions and 5 deletions

View File

@@ -1212,7 +1212,7 @@ gistBufferingFindCorrectParent(GISTBuildState *buildstate,
* 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;
}
@@ -1545,7 +1545,7 @@ gistGetParent(GISTBuildState *buildstate, BlockNumber child)
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;
}

View File

@@ -2260,7 +2260,7 @@ static void
lazy_vacuum_heap_rel(LVRelState *vacrel)
{
int tupindex;
int vacuumed_pages;
BlockNumber vacuumed_pages;
PGRUsage ru0;
Buffer vmbuffer = InvalidBuffer;
LVSavedErrInfo saved_err_info;