We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parentsfe7a11d +62e0ade commitc5ba352Copy full SHA for c5ba352
src/backend/access/gist/gistscan.c
@@ -230,6 +230,10 @@ gistrescan(PG_FUNCTION_ARGS)
230
{
231
ScanKeyskey=scan->keyData+i;
232
233
+/*
234
+ * Copy consistent support function to ScanKey structure
235
+ * instead of function implementing filtering operator.
236
+ */
237
fmgr_info_copy(&(skey->sk_func),
238
&(so->giststate->consistentFn[skey->sk_attno-1]),
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);
311
312
/* Restore prior fn_extra pointers, if not first time */