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

Commitc5ba352

Browse files
committed
Fix merge confilict merging GiST ordering
2 parentsfe7a11d +62e0ade commitc5ba352

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ gistrescan(PG_FUNCTION_ARGS)
230230
{
231231
ScanKeyskey=scan->keyData+i;
232232

233+
/*
234+
* Copy consistent support function to ScanKey structure
235+
* instead of function implementing filtering operator.
236+
*/
233237
fmgr_info_copy(&(skey->sk_func),
234238
&(so->giststate->consistentFn[skey->sk_attno-1]),
235239
so->giststate->scanCxt);
@@ -299,6 +303,10 @@ gistrescan(PG_FUNCTION_ARGS)
299303
*/
300304
so->orderByTypes[i]=get_func_rettype(skey->sk_func.fn_oid);
301305

306+
/*
307+
* Copy distance support function to ScanKey structure
308+
* instead of function implementing ordering operator.
309+
*/
302310
fmgr_info_copy(&(skey->sk_func),finfo,so->giststate->scanCxt);
303311

304312
/* Restore prior fn_extra pointers, if not first time */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp