| 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 |
| 1432 | // install DuckLake-only global pg_catalog views here. |
| 1433 | if err := initInformationSchema(db, true); err != nil { |
| 1434 | slog.Warn("Failed to initialize information_schema during activation.", "user", username, "error", err) |
| 1435 | } |
| 1436 | |
| 1437 | if err := setDuckLakeDefault(db); err != nil { |
| 1438 | return fmt.Errorf("failed to set DuckLake as default: %w", err) |
| 1439 | } |
| 1440 | |
| 1441 | // Widen httpfs's retry budget now that the ATTACH calls above have loaded |
| 1442 | // httpfs (DuckLake auto-loads it on the first S3 touch). See |