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

Lines changed: 1 addition & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy