PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ get_strategy_by_type()

static int16 get_strategy_by_type ( Oid  first_type,
uint16_t  index 
)
static

Definition at line 120 of file gserialized_supportfn.c.

121 {
122  if (first_type == postgis_oid(GEOMETRYOID))
123  {
124  return GeometryStrategies[index];
125  }
126 
127  if (first_type == postgis_oid(GEOGRAPHYOID))
128  {
129  return GeographyStrategies[index];
130  }
131 
132  return InvalidStrategy;
133 }
static const int16 GeometryStrategies[]
static const int16 GeographyStrategies[]

References GeographyStrategies, and GeometryStrategies.

Referenced by postgis_index_supportfn().

Here is the caller graph for this function: