queryContext returns a cancellable context for query execution. The cancel function is registered with the server so it can be invoked via a cancel request from another connection. The caller must call the returned cleanup function when the query completes. A disconnect monitor goroutine runs for t
()
| 308 | // worker yet (lazy activation). Applied by ensureSessionActive AFTER the |
| 309 | // executor is installed — never earlier, or the worker swap silently no-ops |
| 310 | // while the session flag flips. Same goroutine as everything else here. |
| 311 | pendingS3Cache string |
| 312 | hasPendingS3Cache bool |
| 313 | |
| 314 | // workerTTLOverride holds the `duckgres.worker_ttl` session GUC state |
| 315 | // (another duckgres-namespaced custom parameter, NOT forwarded to |
no test coverage detected