MCPcopy Create free account
hub / github.com/PostHog/duckgres / explainPlanColumn

Function explainPlanColumn

server/conn.go:1846–1851  ·  view source on GitHub ↗

explainPlanColumn returns the single column name DuckDB uses for an EXPLAIN result: "analyzed_plan" for EXPLAIN ANALYZE, "physical_plan" otherwise.

(query string)

Source from the content-addressed store, hash-verified

1844 return nil
1845 }
1846
1847 // Open cursors pin the session's single DuckDB connection — release
1848 // them before a transaction-end statement needs it.
1849 c.closeCursorsAtTxEnd(cmdType)
1850
1851 ctx, cleanup := c.queryContext()
1852 defer cleanup()
1853
1854 workerStatement := workerStatementForQuery(workerOrigin, workerOperationExecute, query)

Callers 1

handleDescribeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected