PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ gserialized_gist_same()

Datum gserialized_gist_same ( PG_FUNCTION_ARGS  )

Definition at line 1332 of file gserialized_gist_nd.c.

References gidx_equals(), gserialized_gist_geog_distance(), and PG_FUNCTION_INFO_V1().

Referenced by gserialized_gist_union().

1333 {
1334  GIDX *b1 = (GIDX*)PG_GETARG_POINTER(0);
1335  GIDX *b2 = (GIDX*)PG_GETARG_POINTER(1);
1336  bool *result = (bool*)PG_GETARG_POINTER(2);
1337 
1338  POSTGIS_DEBUG(4, "[GIST] 'same' function called");
1339 
1340  *result = gidx_equals(b1, b2);
1341 
1342  PG_RETURN_POINTER(result);
1343 }
static bool gidx_equals(GIDX *a, GIDX *b)
Here is the call graph for this function:
Here is the caller graph for this function: