PostGIS  3.0.0dev-r@@SVN_REVISION@@

◆ parse_datum_as_string()

static void parse_datum_as_string ( mvt_agg_context ctx,
Oid  typoid,
Datum  datum,
uint32_t tags,
uint32_t  k 
)
static

Definition at line 551 of file mvt.c.

References add_value_as_string(), and genraster::value.

Referenced by parse_values().

553 {
554  Oid foutoid;
555  bool typisvarlena;
556  char *value;
557  POSTGIS_DEBUG(2, "parse_value_as_string called");
558  getTypeOutputInfo(typoid, &foutoid, &typisvarlena);
559  value = OidOutputFunctionCall(foutoid, datum);
560  POSTGIS_DEBUGF(4, "parse_value_as_string value: %s", value);
561  add_value_as_string(ctx, value, tags, k);
562 }
static void add_value_as_string(mvt_agg_context *ctx, char *value, uint32_t *tags, uint32_t k)
Definition: mvt.c:545
int value
Definition: genraster.py:61
Here is the call graph for this function:
Here is the caller graph for this function: