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

Function duckLakeDisableMetadataThreadLocalCacheEnabled

server/server.go:1423–1428  ·  view source on GitHub ↗
(dlCfg DuckLakeConfig)

Source from the content-addressed store, hash-verified

1421 if err := AttachDuckLake(db, cfg.DuckLake, duckLakeSem, cfg.DataDir); err != nil {
1422 return fmt.Errorf("DuckLake configured but attachment failed: %w", err)
1423 }
1424 if err := AttachDeltaCatalog(db, cfg.DuckLake, duckLakeSem); err != nil {
1425 return fmt.Errorf("delta catalog configured but attachment failed: %w", err)
1426 }
1427
1428 tryEnsureDuckLakeQueryLogSurface(db, cfg, username)
1429
1430 // Catalog-scoped pg_class/pg_namespace/pg_attribute views are installed by
1431 // sessionmeta.InitSessionDatabaseMetadata for each Postgres session. Do not

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected