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

Function makeStringInfo

src/common/stringinfo.c:40–50  ·  view source on GitHub ↗

* makeStringInfo * * Create an empty 'StringInfoData' & return a pointer to it. */

Source from the content-addressed store, hash-verified

38 * Create an empty 'StringInfoData' & return a pointer to it.
39 */
40StringInfo
41makeStringInfo(void)
42{
43 StringInfo res;
44
45 res = (StringInfo) palloc(sizeof(StringInfoData));
46
47 initStringInfo(res);
48
49 return res;
50}
51
52/*
53 * initStringInfo

Callers 15

InjectFaultFunction · 0.85
checkTablespaceInIOlimitFunction · 0.85
pg_resgroup_get_statusFunction · 0.85
get_iostatFunction · 0.85
io_limit_dumpFunction · 0.85
clear_io_maxFunction · 0.85
jsonb_sendFunction · 0.85
JsonbToCStringWorkerFunction · 0.85
xml_errorHandlerFunction · 0.85
query_to_xml_internalFunction · 0.85

Calls 2

initStringInfoFunction · 0.85
pallocFunction · 0.70

Tested by 7

test_xactdescprepareNoneFunction · 0.68
create_text_stringinfoFunction · 0.68
test_drop_table_via_spiFunction · 0.68