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

Function isMissingDuckLakePoolSettingError

server/server.go:1445–1451  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

1443 // applyHTTPFSRetryBudget for why this can't run in ConfigureMainDB.
1444 applyHTTPFSRetryBudget(db)
1445 applyParquetPrefetchPolicy(db, cfg.DisableParquetPrefetching)
1446
1447 return nil
1448}
1449
1450// CreatePassthroughDBConnection creates a DuckDB connection without pg_catalog
1451// or information_schema initialization. DuckLake is still attached if configured
1452// so passthrough users can access the same data. This is used for passthrough users
1453// who send DuckDB-native SQL and don't need the PostgreSQL compatibility layer.
1454func CreatePassthroughDBConnection(cfg Config, duckLakeSem chan struct{}, username string, serverStartTime time.Time, serverVersion string) (*sql.DB, error) {

Calls 1

ErrorMethod · 0.45

Tested by 1