PostGIS
2.4.9dev-r@@SVN_REVISION@@
brin_common.c
Go to the documentation of this file.
1
#include "
postgis_brin.h
"
2
3
bool
4
is_gserialized_from_datum_empty
(Datum the_datum)
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
}
postgis_brin.h
gserialized_is_empty
int gserialized_is_empty(const GSERIALIZED *g)
Check if a GSERIALIZED is empty without deserializing first.
Definition:
g_serialized.c:179
LW_TRUE
#define LW_TRUE
Return types for functions with status returns.
Definition:
liblwgeom.h:76
GSERIALIZED
Definition:
liblwgeom.h:379
is_gserialized_from_datum_empty
bool is_gserialized_from_datum_empty(Datum the_datum)
Definition:
brin_common.c:4
postgis
brin_common.c
Generated by
1.8.13