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

Function fmtQualifiedId

src/fe_utils/string_utils.c:306–310  ·  view source on GitHub ↗

* fmtQualifiedId - construct a schema-qualified name, with quoting as needed. * * Like fmtId, use the result before calling again. * * Since we call fmtId and it also uses getLocalPQExpBuffer() we cannot * use that buffer until we're finished with calling fmtId(). * * NB: This assumes setFmtEncoding() previously has been called to configure * the encoding of schema/id. It is preferable to

Source from the content-addressed store, hash-verified

304 * with an explicit encoding.
305 */
306const char *
307fmtQualifiedId(const char *schema, const char *id)
308{
309 return fmtQualifiedIdEnc(schema, id, getFmtEncoding());
310}
311
312
313/*

Callers 6

lockTableForWorkerFunction · 0.85
dumpTableSchemaFunction · 0.85
restore_toc_entryFunction · 0.85

Calls 2

fmtQualifiedIdEncFunction · 0.85
getFmtEncodingFunction · 0.85

Tested by

no test coverage detected