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

Method LastProfilingOutput

server/executor.go:74–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func (e *LocalExecutor) LastProfilingOutput() string {
75 data, err := os.ReadFile("/tmp/duckgres-profiling.json")
76 if err != nil {
77 return ""
78 }
79 return string(data)
80}
81
82// PinnedExecutor wraps a pinned *sql.Conn from a shared *sql.DB pool
83// to implement QueryExecutor for file-persistence mode.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected