PostGIS  3.4.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 1322 of file gserialized_gist_2d.c.

1323 {
1324  /* Empty is a special case */
1325  if (x == 0 || y == 0 || x == y)
1326  return 0; /* 0 means "ask bigger comparator" and not equality*/
1327  else if (x > y)
1328  return 1;
1329  else
1330  return -1;
1331 }

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

Referenced by gserialized_gist_sortsupport_2d().

Here is the caller graph for this function: