PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwgeom_ge()

Datum lwgeom_ge ( PG_FUNCTION_ARGS  )

Definition at line 96 of file lwgeom_btree.c.

97{
98 GSERIALIZED *g1 = PG_GETARG_GSERIALIZED_P(0);
99 GSERIALIZED *g2 = PG_GETARG_GSERIALIZED_P(1);
100 int cmp = gserialized_cmp(g1, g2);
101 PG_FREE_IF_COPY(g1, 0);
102 PG_FREE_IF_COPY(g2, 1);
103 PG_RETURN_BOOL(cmp >= 0);
104}
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".

References gserialized_cmp().

Here is the call graph for this function: