File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,10 @@ gistrescan(PG_FUNCTION_ARGS)
230
230
{
231
231
ScanKey skey = scan -> keyData + i ;
232
232
233
+ /*
234
+ * Copy consistent support function to ScanKey structure
235
+ * instead of function implementing filtering operator.
236
+ */
233
237
fmgr_info_copy (& (skey -> sk_func ),
234
238
& (so -> giststate -> consistentFn [skey -> sk_attno - 1 ]),
235
239
so -> giststate -> scanCxt );
@@ -299,6 +303,10 @@ gistrescan(PG_FUNCTION_ARGS)
299
303
*/
300
304
so -> orderByTypes [i ] = get_func_rettype (skey -> sk_func .fn_oid );
301
305
306
+ /*
307
+ * Copy distance support function to ScanKey structure
308
+ * instead of function implementing ordering operator.
309
+ */
302
310
fmgr_info_copy (& (skey -> sk_func ), finfo , so -> giststate -> scanCxt );
303
311
304
312
/* Restore prior fn_extra pointers, if not first time */
You can’t perform that action at this time.
0 commit comments