We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27e082b commit 0f64595Copy full SHA for 0f64595
src/backend/access/spgist/spgquadtreeproc.c
@@ -465,8 +465,7 @@ spg_quad_leaf_consistent(PG_FUNCTION_ARGS)
465
466
if (res && in->norderbys > 0)
467
/* ok, it passes -> let's compute the distances */
468
- out->distances = spg_key_orderbys_distances(
469
- BoxPGetDatum(in->leafDatum), true,
+ out->distances = spg_key_orderbys_distances(in->leafDatum, true,
470
in->orderbys, in->norderbys);
471
472
PG_RETURN_BOOL(res);
0 commit comments