27 #include "access/hash.h" 29 #include "../postgis_config.h" 33 #include "lwgeom_pg.h" 34 #include "gserialized_gist.h" 54 PG_FREE_IF_COPY(g1, 0);
55 PG_FREE_IF_COPY(g2, 1);
59 PG_RETURN_BOOL(
FALSE);
72 PG_FREE_IF_COPY(g1, 0);
73 PG_FREE_IF_COPY(g2, 1);
77 PG_RETURN_BOOL(
FALSE);
90 PG_FREE_IF_COPY(g1, 0);
91 PG_FREE_IF_COPY(g2, 1);
95 PG_RETURN_BOOL(
FALSE);
108 PG_FREE_IF_COPY(g1, 0);
109 PG_FREE_IF_COPY(g2, 1);
111 PG_RETURN_BOOL(
TRUE);
113 PG_RETURN_BOOL(
FALSE);
126 PG_FREE_IF_COPY(g1, 0);
127 PG_FREE_IF_COPY(g2, 1);
129 PG_RETURN_BOOL(
TRUE);
131 PG_RETURN_BOOL(
FALSE);
144 PG_FREE_IF_COPY(g1, 0);
145 PG_FREE_IF_COPY(g2, 1);
146 PG_RETURN_INT32(ret);
int gserialized_cmp(const GSERIALIZED *g1, const GSERIALIZED *g2)
Return -1 if g1 is "less than" g2, 1 if g1 is "greater than" g2 and 0 if g1 and g2 are the "same"...
Datum geography_eq(PG_FUNCTION_ARGS)
Datum geography_gt(PG_FUNCTION_ARGS)
Datum geography_le(PG_FUNCTION_ARGS)
Datum geography_ge(PG_FUNCTION_ARGS)
PG_FUNCTION_INFO_V1(geography_lt)
Datum geography_lt(PG_FUNCTION_ARGS)
Datum geography_cmp(PG_FUNCTION_ARGS)
This library is the generic geometry handling section of PostGIS.