PostGIS  2.5.0dev-r@@SVN_REVISION@@
Datum LWGEOM_asGeoJson_old ( PG_FUNCTION_ARGS  )

Definition at line 396 of file lwgeom_export.c.

References LWGEOM_asGeoJson().

397 {
398  switch( PG_NARGS() )
399  {
400  case 2:
401  return DirectFunctionCall1(LWGEOM_asGeoJson, PG_GETARG_DATUM(1));
402  case 3:
403  return DirectFunctionCall2(LWGEOM_asGeoJson, PG_GETARG_DATUM(1), PG_GETARG_DATUM(2));
404  case 4:
405  return DirectFunctionCall3(LWGEOM_asGeoJson, PG_GETARG_DATUM(1), PG_GETARG_DATUM(2), PG_GETARG_DATUM(3));
406  default:
407  elog(ERROR, "bad call in %s", __func__);
408  }
409  PG_RETURN_NULL();
410 }
Datum LWGEOM_asGeoJson(PG_FUNCTION_ARGS)

Here is the call graph for this function: