From f59b58e2a1b7e4a48dee36cc61966759da0faedd Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 17 Apr 2021 09:40:50 +0200 Subject: Use correct format placeholder for block numbers Should be %u rather than %d. --- src/backend/access/gist/gistbuild.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/access/gist/gistbuild.c') diff --git a/src/backend/access/gist/gistbuild.c b/src/backend/access/gist/gistbuild.c index 1054f6f1f2e..36edc576a88 100644 --- a/src/backend/access/gist/gistbuild.c +++ b/src/backend/access/gist/gistbuild.c @@ -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; } -- cgit v1.2.3