QuerySource returns the current value of the `duckgres.query_source` session GUC, or defaultQuerySource ("standard") if it was never set / set to empty. This never errors on a missing value: an unset GUC is defined to mean "standard". It is the accessor a future compute meter reads to bucket usage.
()
| 258 | // mode prevents impossible combinations such as both direct bypass and |
| 259 | // proxy passthrough. It changes only AFTER the worker-side transport swap |
| 260 | // succeeds, so SHOW never reports a state the worker isn't in. |
| 261 | s3CacheMode transform.S3CacheMode |
| 262 | |
| 263 | // idleTimeout is a validated, connect-time client override. Zero means use |
| 264 | // the server default. It is initialized before the message loop starts and |
| 265 | // never changes, so it needs no synchronization. |
| 266 | idleTimeout time.Duration |
| 267 | |
| 268 | // Provisioned worker pod size for compute-usage billing (remote/k8s backend |
no outgoing calls