Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce7f772

Browse files
committed
Use correct GetDatum() in pg_relation_check_pages()
UInt32GetDatum() was getting used, while the result needsInt64GetDatum(). Oversight inf2b8839.Per buildfarm member florican.Discussion:https://postgr.es/m/1226629.1603859189@sss.pgh.pa.us
1 parentf2b8839 commitce7f772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/adt/pagefuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ check_relation_fork(TupleDesc tupdesc, Tuplestorestate *tupstore,
214214
memset(nulls,0,sizeof(nulls));
215215

216216
values[i++]=CStringGetTextDatum(path);
217-
values[i++]=UInt32GetDatum(blkno);
217+
values[i++]=Int64GetDatum((int64)blkno);
218218

219219
Assert(i==PG_CHECK_RELATION_COLS);
220220

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp