PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ gserialized_gist_cmp_abbrev_2d()

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

Definition at line 1362 of file gserialized_gist_2d.c.

1363 {
1364  /* Empty is a special case */
1365  if (x == 0 || y == 0 || x == y)
1366  return 0; /* 0 means "ask bigger comparator" and not equality*/
1367  else if (x > y)
1368  return 1;
1369  else
1370  return -1;
1371 }

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

Referenced by gserialized_gist_sortsupport_2d().

Here is the caller graph for this function: