PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gserialized_gidx_geog_overlaps()

Datum gserialized_gidx_geog_overlaps ( PG_FUNCTION_ARGS  )

Definition at line 1048 of file gserialized_gist_nd.c.

References FALSE, gidx_overlaps(), gserialized_datum_predicate_gidx_geom(), gserialized_gidx_geom_overlaps(), LW_TRUE, PG_FUNCTION_INFO_V1(), and TRUE.

Referenced by gserialized_overlaps().

1049 {
1050  GIDX *gidx = (GIDX *)PG_GETARG_POINTER(0);
1051 
1052  if ( gserialized_datum_predicate_gidx_geom(gidx, PG_GETARG_DATUM(1), gidx_overlaps) == LW_TRUE )
1053  PG_RETURN_BOOL(TRUE);
1054 
1055  PG_RETURN_BOOL(FALSE);
1056 }
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:76
static bool gidx_overlaps(GIDX *a, GIDX *b)
#define FALSE
Definition: dbfopen.c:168
#define TRUE
Definition: dbfopen.c:169
Here is the call graph for this function:
Here is the caller graph for this function: