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

◆ LWGEOM_same()

Datum LWGEOM_same ( PG_FUNCTION_ARGS  )

Definition at line 2054 of file lwgeom_functions_basic.c.

2055{
2056 GSERIALIZED *g1 = PG_GETARG_GSERIALIZED_P(0);
2057 GSERIALIZED *g2 = PG_GETARG_GSERIALIZED_P(1);
2058
2059 PG_RETURN_BOOL(gserialized_cmp(g1, g2) == 0);
2060}
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: