Content-Length: 261532 | pFad | http://github.com/postgrespro/postgres_cluster/commit/0f6459589494a4b4ff6c707594f8d308b9da88f8

91 Remove extra usage of BoxPGetDatum() macro · postgrespro/postgres_cluster@0f64595 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/0f6459589494a4b4ff6c707594f8d308b9da88f8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy