PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ gserialized_gidx_geom_same()

Datum gserialized_gidx_geom_same ( PG_FUNCTION_ARGS  )

Definition at line 1008 of file gserialized_gist_nd.c.

References gidx_equals(), gserialized_datum_predicate_gidx_geom(), gserialized_gidx_gidx_same(), LW_TRUE, and PG_FUNCTION_INFO_V1().

Referenced by gserialized_gidx_gidx_contains().

1009 {
1010  GIDX *gidx = (GIDX *)PG_GETARG_POINTER(0);
1011 
1012  if ( gserialized_datum_predicate_gidx_geom(gidx, PG_GETARG_DATUM(1), gidx_equals) == LW_TRUE )
1013  PG_RETURN_BOOL(true);
1014 
1015  PG_RETURN_BOOL(false);
1016 }
static bool gidx_equals(GIDX *a, GIDX *b)
static int gserialized_datum_predicate_gidx_geom(GIDX *gidx1, Datum gs2, gidx_predicate predicate)
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:75
Here is the call graph for this function:
Here is the caller graph for this function: