PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ get_strategy_by_type()

static int16 get_strategy_by_type ( Oid  first_type,
uint16_t  index 
)
static

Definition at line 118 of file gserialized_supportfn.c.

119 {
120  if (first_type == postgis_oid(GEOMETRYOID))
121  {
122  return GeometryStrategies[index];
123  }
124 
125  if (first_type == postgis_oid(GEOGRAPHYOID))
126  {
127  return GeographyStrategies[index];
128  }
129 
130  return InvalidStrategy;
131 }
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: