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

◆ gserialized_gist_cmp_abbrev_2d()

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

Definition at line 1341 of file gserialized_gist_2d.c.

1342{
1343 /* Empty is a special case */
1344 if (x == 0 || y == 0 || x == y)
1345 return 0; /* 0 means "ask bigger comparator" and not equality*/
1346 else if (x > y)
1347 return 1;
1348 else
1349 return -1;
1350}

Referenced by gserialized_gist_sortsupport_2d().

Here is the caller graph for this function: