PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ gserialized_within()

Datum gserialized_within ( PG_FUNCTION_ARGS  )

Definition at line 924 of file gserialized_gist_nd.c.

925 {
926  if ( gserialized_datum_predicate(PG_GETARG_DATUM(1), PG_GETARG_DATUM(0), gidx_contains) == LW_TRUE )
927  {
928  PG_RETURN_BOOL(true);
929  }
930 
931  PG_RETURN_BOOL(false);
932 }
bool gidx_contains(GIDX *a, GIDX *b)
static int gserialized_datum_predicate(Datum gs1, Datum gs2, gidx_predicate predicate)
Support function.
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:76

References gidx_contains(), gserialized_datum_predicate(), and LW_TRUE.

Here is the call graph for this function: