Definition at line 389 of file gserialized_typmod.c.
391 int32 typmod = PG_GETARG_INT32(0);
393 char *
s = (
char*)palloc(64);
398 if ( typmod < 0 ||
type == 0 )
399 ptr += sprintf(ptr,
"Geometry");
405 ptr += sprintf(ptr,
"%s",
"Z");
409 ptr += sprintf(ptr,
"%s",
"M");
411 stext = cstring_to_text(
s);
413 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.