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

Function nodeToString

src/backend/nodes/outfuncs.c:5409–5418  ·  view source on GitHub ↗

* nodeToString - * returns the ascii representation of the Node as a palloc'd string */

Source from the content-addressed store, hash-verified

5407 * returns the ascii representation of the Node as a palloc'd string
5408 */
5409char *
5410nodeToString(const void *obj)
5411{
5412 StringInfoData str;
5413
5414 /* see stringinfo.h for an explanation of this maneuver */
5415 initStringInfo(&str);
5416 outNode(&str, obj);
5417 return str.data;
5418}
5419
5420/*
5421 * bmsToString -

Callers 15

InsertRuleFunction · 0.85
pg_rewrite_queryFunction · 0.85
pg_plan_queryFunction · 0.85
CreateTriggerFiringOnFunction · 0.85
DefineDomainFunction · 0.85
AlterDomainDefaultFunction · 0.85
domainAddConstraintFunction · 0.85
CreateStatisticsFunction · 0.85
CreatePolicyFunction · 0.85
AlterPolicyFunction · 0.85
NodeToStringMethod · 0.85

Calls 2

initStringInfoFunction · 0.85
outNodeFunction · 0.85

Tested by

no test coverage detected