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

Function ExplainQueryText

src/backend/commands/explain.c:1291–1296  ·  view source on GitHub ↗

* ExplainQueryText - * add a "Query Text" node that contains the actual text of the query * * The caller should have set up the options fields of *es, as well as * initializing the output buffer es->str. * */

Source from the content-addressed store, hash-verified

1289 *
1290 */
1291void
1292ExplainQueryText(ExplainState *es, QueryDesc *queryDesc)
1293{
1294 if (queryDesc->sourceText)
1295 ExplainPropertyText("Query Text", queryDesc->sourceText, es);
1296}
1297
1298/*
1299 * report_triggers -

Callers 1

explain_ExecutorEndFunction · 0.85

Calls 1

ExplainPropertyTextFunction · 0.85

Tested by

no test coverage detected