mirror of
https://github.com/postgres/postgres.git
synced 2025-06-18 00:02:37 -04:00
Remove extra usage of BoxPGetDatum() macro
Author: Mark Dilger Discussion: https://postgr.es/m/B2AEFCD0-836D-4654-9D59-3DF616E0A6F3%40gmail.com
This commit is contained in:
parent
27e082b0c6
commit
0f64595894
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user