diff options
author | Alexander Korotkov | 2018-09-27 20:25:22 +0000 |
---|---|---|
committer | Alexander Korotkov | 2018-09-27 20:25:22 +0000 |
commit | 0f6459589494a4b4ff6c707594f8d308b9da88f8 (patch) | |
tree | d00271b0f3fc371d1e4e6a41c8dd3d5ff94102e1 /src/backend/access/spgist/spgquadtreeproc.c | |
parent | 27e082b0c6e564facfbf54b56090fdcc4bf44cca (diff) |
Remove extra usage of BoxPGetDatum() macro
Author: Mark Dilger
Discussion: https://postgr.es/m/B2AEFCD0-836D-4654-9D59-3DF616E0A6F3%40gmail.com
Diffstat (limited to 'src/backend/access/spgist/spgquadtreeproc.c')
-rw-r--r-- | src/backend/access/spgist/spgquadtreeproc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/access/spgist/spgquadtreeproc.c b/src/backend/access/spgist/spgquadtreeproc.c index dee438a307d..90cc7768994 100644 --- a/src/backend/access/spgist/spgquadtreeproc.c +++ b/src/backend/access/spgist/spgquadtreeproc.c @@ -465,8 +465,7 @@ spg_quad_leaf_consistent(PG_FUNCTION_ARGS) if (res && in->norderbys > 0) /* ok, it passes -> let's compute the distances */ - out->distances = spg_key_orderbys_distances( - BoxPGetDatum(in->leafDatum), true, + out->distances = spg_key_orderbys_distances(in->leafDatum, true, in->orderbys, in->norderbys); PG_RETURN_BOOL(res); |