PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gserialized_gist_same()

Datum gserialized_gist_same ( PG_FUNCTION_ARGS  )

Definition at line 1442 of file gserialized_gist_nd.c.

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

Referenced by gserialized_gist_union().

1443 {
1444  GIDX *b1 = (GIDX*)PG_GETARG_POINTER(0);
1445  GIDX *b2 = (GIDX*)PG_GETARG_POINTER(1);
1446  bool *result = (bool*)PG_GETARG_POINTER(2);
1447 
1448  POSTGIS_DEBUG(4, "[GIST] 'same' function called");
1449 
1450  *result = gidx_equals(b1, b2);
1451 
1452  PG_RETURN_POINTER(result);
1453 }
static bool gidx_equals(GIDX *a, GIDX *b)
Here is the call graph for this function:
Here is the caller graph for this function: