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

Interface sqlExecer

server/server.go:2290–2292  ·  view source on GitHub ↗

sqlExecer is satisfied by both *sql.DB and *sql.Conn, allowing StartCredentialRefresh to work with either a connection pool or a pinned connection.

Source from the content-addressed store, hash-verified

2288 if dlCfg.S3Endpoint != "" {
2289 secret += fmt.Sprintf(",\n\t\t\tENDPOINT '%s'", dlCfg.S3Endpoint)
2290 }
2291
2292 // SESSION_TOKEN is ALWAYS emitted, even when empty: httpfs copies a host
2293 // AWS_SESSION_TOKEN env var into the global s3_session_token setting at
2294 // extension load (AWSEnvironmentCredentialsProvider::SetAll), and a secret
2295 // that omits the key falls back to that setting at request-signing time

Callers 8

doRebalanceMethod · 0.65
SetInitialLimitsMethod · 0.65
handleConnectionMethod · 0.65
handleExecuteMethod · 0.65
StartCredentialRefreshFunction · 0.65
ApplyProfilingSettingsFunction · 0.65
ExecContextMethod · 0.65

Implementers 15

fakeTxtests/perf/publisher/publisher_test.go
queryErrorExecutorserver/conn_test.go
recordingQueryExecutorserver/session_database_metadata_test.
mockRefreshExecerserver/server_test.go
LocalExecutorserver/executor.go
PinnedExecutorserver/executor.go
selectOneExecutorserver/query_source_test.go
describeRecordingExecutorserver/conn_describe_test.go
profilingOutputExecutorserver/profiling_test.go

Calls

no outgoing calls

Tested by

no test coverage detected