Definition at line 406 of file gserialized_typmod.c.
408 int32 typmod = PG_GETARG_INT32(0);
410 char *
s = (
char*)palloc(64);
415 if ( typmod < 0 ||
type == 0 )
416 ptr += sprintf(ptr,
"Geometry");
422 ptr += sprintf(ptr,
"%s",
"Z");
426 ptr += sprintf(ptr,
"%s",
"M");
428 stext = cstring_to_text(
s);
430 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.