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

◆ LWGEOM_same()

Datum LWGEOM_same ( PG_FUNCTION_ARGS  )

Definition at line 2002 of file lwgeom_functions_basic.c.

2003{
2004 GSERIALIZED *g1 = PG_GETARG_GSERIALIZED_P(0);
2005 GSERIALIZED *g2 = PG_GETARG_GSERIALIZED_P(1);
2006
2007 PG_RETURN_BOOL(gserialized_cmp(g1, g2) == 0);
2008}
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: