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

Function resetStringInfo

src/common/stringinfo.c:90–96  ·  view source on GitHub ↗

* resetStringInfo * * Reset the StringInfo: the data buffer remains valid, but its * previous content, if any, is cleared. */

Source from the content-addressed store, hash-verified

88 * previous content, if any, is cleared.
89 */
90void
91resetStringInfo(StringInfo str)
92{
93 str->data[0] = '\0';
94 str->len = 0;
95 str->cursor = 0;
96}
97
98/*
99 * appendStringInfo

Callers 15

encoding_encode_strinfoFunction · 0.85
make_val_with_blanksFunction · 0.85
fixedwidth_inFunction · 0.85
hstore_to_json_looseFunction · 0.85
hstore_to_jsonFunction · 0.85
hstore_to_jsonb_looseFunction · 0.85
parse_fcall_argumentsFunction · 0.85
InteractiveBackendFunction · 0.85

Calls

no outgoing calls

Tested by 2

initialize_worker_spiFunction · 0.68
generate_uao_sourcefilesFunction · 0.68