PostGIS  2.5.0dev-r@@SVN_REVISION@@
Datum geography_gt ( PG_FUNCTION_ARGS  )

Definition at line 81 of file geography_btree.c.

References gserialized_cmp().

82 {
83  GSERIALIZED *g1 = PG_GETARG_GSERIALIZED_P(0);
84  GSERIALIZED *g2 = PG_GETARG_GSERIALIZED_P(1);
85  int cmp = gserialized_cmp(g1, g2);
86  if (cmp > 0)
87  PG_RETURN_BOOL(true);
88  else
89  PG_RETURN_BOOL(false);
90 }
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: g_serialized.c:293

Here is the call graph for this function: