mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03: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:
@ -465,8 +465,7 @@ spg_quad_leaf_consistent(PG_FUNCTION_ARGS)
|
|||||||
|
|
||||||
if (res && in->norderbys > 0)
|
if (res && in->norderbys > 0)
|
||||||
/* ok, it passes -> let's compute the distances */
|
/* ok, it passes -> let's compute the distances */
|
||||||
out->distances = spg_key_orderbys_distances(
|
out->distances = spg_key_orderbys_distances(in->leafDatum, true,
|
||||||
BoxPGetDatum(in->leafDatum), true,
|
|
||||||
in->orderbys, in->norderbys);
|
in->orderbys, in->norderbys);
|
||||||
|
|
||||||
PG_RETURN_BOOL(res);
|
PG_RETURN_BOOL(res);
|
||||||
|
Reference in New Issue
Block a user