aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/pagefuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/pagefuncs.c b/src/backend/utils/adt/pagefuncs.c
index 2ef133ba45b..b6a23a2a4fa 100644
--- a/src/backend/utils/adt/pagefuncs.c
+++ b/src/backend/utils/adt/pagefuncs.c
@@ -214,7 +214,7 @@ check_relation_fork(TupleDesc tupdesc, Tuplestorestate *tupstore,
memset(nulls, 0, sizeof(nulls));
values[i++] = CStringGetTextDatum(path);
- values[i++] = UInt32GetDatum(blkno);
+ values[i++] = Int64GetDatum((int64) blkno);
Assert(i == PG_CHECK_RELATION_COLS);