Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0f64595

Browse files
committed
Remove extra usage of BoxPGetDatum() macro
Author: Mark Dilger Discussion: https://postgr.es/m/B2AEFCD0-836D-4654-9D59-3DF616E0A6F3%40gmail.com
1 parent 27e082b commit 0f64595

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/access/spgist/spgquadtreeproc.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,7 @@ spg_quad_leaf_consistent(PG_FUNCTION_ARGS)
465465

466466
if (res && in->norderbys > 0)
467467
/* ok, it passes -> let's compute the distances */
468-
out->distances = spg_key_orderbys_distances(
469-
BoxPGetDatum(in->leafDatum), true,
468+
out->distances = spg_key_orderbys_distances(in->leafDatum, true,
470469
in->orderbys, in->norderbys);
471470

472471
PG_RETURN_BOOL(res);

0 commit comments

Comments
 (0)