Definition at line 360 of file gserialized_typmod.c.
362 int32 typmod = PG_GETARG_INT32(0);
364 char *
s = (
char*)palloc(64);
369 if ( typmod < 0 ||
type == 0 )
370 ptr += sprintf(ptr,
"Geometry");
376 ptr += sprintf(ptr,
"%s",
"Z");
380 ptr += sprintf(ptr,
"%s",
"M");
382 stext = cstring_to_text(
s);
384 PG_RETURN_TEXT_P(stext);
#define TYPMOD_GET_M(typmod)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
#define TYPMOD_GET_TYPE(typmod)
#define TYPMOD_GET_Z(typmod)
References lwtype_name(), s, ovdump::type, TYPMOD_GET_M, TYPMOD_GET_TYPE, and TYPMOD_GET_Z.