PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ get_tuple_desc()

static TupleDesc get_tuple_desc ( struct geobuf_agg_context ctx)
static

Definition at line 44 of file geobuf.c.

References geobuf_agg_context::row.

Referenced by encode_keys(), and encode_properties().

45 {
46  Oid tupType = HeapTupleHeaderGetTypeId(ctx->row);
47  int32 tupTypmod = HeapTupleHeaderGetTypMod(ctx->row);
48  TupleDesc tupdesc = lookup_rowtype_tupdesc(tupType, tupTypmod);
49  return tupdesc;
50 }
HeapTupleHeader row
Definition: geobuf.h:52
unsigned int int32
Definition: shpopen.c:273
Here is the caller graph for this function: