MCPcopy Create free account
hub / github.com/apache/cloudberry / TypeNameToString

Function TypeNameToString

src/backend/parser/parse_type.c:477–485  ·  view source on GitHub ↗

* TypeNameToString * Produce a string representing the name of a TypeName. * * NB: this must work on TypeNames that do not describe any actual type; * it is mostly used for reporting lookup errors. */

Source from the content-addressed store, hash-verified

475 * it is mostly used for reporting lookup errors.
476 */
477char *
478TypeNameToString(const TypeName *typeName)
479{
480 StringInfoData string;
481
482 initStringInfo(&string);
483 appendTypeNameToBuffer(typeName, &string);
484 return string.data;
485}
486
487/*
488 * TypeNameListToString

Callers 15

defGetStringFunction · 0.85
defGetTypeLengthFunction · 0.85
DefineDomainFunction · 0.85
AlterTypeOwnerFunction · 0.85
AlterTypeFunction · 0.85
compute_return_typeFunction · 0.85
CreateCastFunction · 0.85
CreateTransformFunction · 0.85
DefineOpClassFunction · 0.85

Calls 2

initStringInfoFunction · 0.85
appendTypeNameToBufferFunction · 0.85

Tested by

no test coverage detected