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

◆ lwgeom_cmp_abbrev()

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

Definition at line 142 of file lwgeom_btree.c.

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

Referenced by lwgeom_sortsupport().

Here is the caller graph for this function: