PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ LWGEOM_same()

Datum LWGEOM_same ( PG_FUNCTION_ARGS  )

Definition at line 2060 of file lwgeom_functions_basic.c.

2061 {
2062  GSERIALIZED *g1 = PG_GETARG_GSERIALIZED_P(0);
2063  GSERIALIZED *g2 = PG_GETARG_GSERIALIZED_P(1);
2064 
2065  PG_RETURN_BOOL(gserialized_cmp(g1, g2) == 0);
2066 }
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".
Definition: gserialized.c:313

References gserialized_cmp().

Here is the call graph for this function: