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

Commit2f0434e

Browse files
committed
Fix oversight in backpatch of6cae9d2
During backpatch of6cae9d2 Float8GetDatum() was accidentally removed. Thiscommit turns it back.Reported-by: Erik RijkersDiscussion:https://postgr.es/m/6d51305e1159241cabee132f7efc7eff%40xs4all.nlAuthor: Tom LaneBackpatch-through: from 11 to 9.5
1 parent2da8e56 commit2f0434e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/gist/gistget.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ getNextNearest(IndexScanDesc scan)
577577
if (!scan->xs_orderbynulls[i])
578578
pfree(DatumGetPointer(scan->xs_orderbyvals[i]));
579579
#endif
580-
scan->xs_orderbyvals[i]=item->distances[i].value;
580+
scan->xs_orderbyvals[i]=Float8GetDatum(item->distances[i].value);
581581
scan->xs_orderbynulls[i]=item->distances[i].isnull;
582582
}
583583
elseif (so->orderByTypes[i]==FLOAT4OID)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp