PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwgeom_cmp_abbrev()

static int lwgeom_cmp_abbrev ( Datum  x,
Datum  y,
SortSupport  ssup 
)
static

Definition at line 139 of file lwgeom_btree.c.

140 {
141  /* Empty is a special case */
142  if (x == 0 || y == 0 || x == y)
143  return 0; /* 0 means "ask bigger comparator" and not equality*/
144  else if (x > y)
145  return 1;
146  else
147  return -1;
148 }

References pixval::x, and pixval::y.

Referenced by lwgeom_sortsupport().

Here is the caller graph for this function: