181 # define type_str_len 31
195 type_text = cstring_to_text(type_str);
197 PG_FREE_IF_COPY(gser, 0);
198 PG_RETURN_TEXT_P(type_text);
uint32_t gserialized_max_header_size(void)
Returns the size in bytes to read from toast to get the basic information from a geometry: GSERIALIZE...
uint32_t gserialized_get_type(const GSERIALIZED *s)
Extract the geometry type from the serialized form (it hides in the anonymous data area,...
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.