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

Function isTransactionAborted

server/server.go:2284–2286  ·  view source on GitHub ↗

isTransactionAborted returns true if the error indicates DuckDB's connection is stuck in an aborted transaction state (requires ROLLBACK to recover).

(err error)

Source from the content-addressed store, hash-verified

2282 return placeholder
2283}
2284
2285// resolveS3SecretTransport picks the URL_STYLE and USE_SSL values to embed in
2286// the DuckDB S3 secret. When the cache proxy is in front of the worker
2287// (HTTPProxy set), we force url_style=path + use_ssl=false so all S3
2288// traffic flows as plain HTTP through forwardUncached/HandleProxy on the
2289// proxy side — that's the only path that gives us per-request log lines

Callers 3

RefreshS3SecretFunction · 0.70
StartCredentialRefreshFunction · 0.70

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected