PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches
brin_common.c
Go to the documentation of this file.
1#include "postgis_brin.h"
2
3bool
5{
6 GSERIALIZED *geom = (GSERIALIZED*)PG_DETOAST_DATUM(the_datum);
7
8 if (gserialized_is_empty(geom) == LW_TRUE)
9 return true;
10 else
11 return false;
12}
bool is_gserialized_from_datum_empty(Datum the_datum)
Definition brin_common.c:4
int gserialized_is_empty(const GSERIALIZED *g)
Check if a GSERIALIZED is empty without deserializing first.
#define LW_TRUE
Return types for functions with status returns.
Definition liblwgeom.h:93