MemRelay-Operation: checkpoint-save:ckpt-pg-catalog-fa7bdb6 MemRelay-Resource: 681dfee9-8b19-4781-9a79-0261e1412d19
1.9 KiB
title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
| title | type | permalink | stable_id | scope | memory_type | project_id | usage_profile_id | status | revision | request_id | created_at | updated_at | tags | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Checkpoint 2026-11-10 18:45:10 UTC [96d8db0387] | checkpoint | main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/checkpoint-2026-11-10-18-45-10-utc-96d8db0387 | 681dfee9-8b19-4781-9a79-0261e1412d19 | project | checkpoint | d5a7f581-c442-4554-87b9-ee723b8b0258 | 0c9feb46-d06e-43cd-9ef0-c5813c84a998 | active | 1 | ckpt-pg-catalog-fa7bdb6 | 2026-11-10T18:45:10.825338+00:00 | 2026-11-10T18:45:10.825338+00:00 |
|
完成:数据库管理里 PostgreSQL 编辑表报「SQL 执行失败」。原因是只有浏览、读数据和执行 SQL 带 catalog(PostgreSQL 库名),表结构、增删改行、重命名、清空、删表、建表、Schema 增删、脚本、导入导出都连到连接默认库。后端用 CatalogScoped 给这些请求加 catalog,GET/DELETE 接口加 catalog 查询参数,导入加表单字段,任务按 params.catalog 连接。前端 SqlWorkbenchView 增加 selectedCatalog,设计器标签、脚本节点带 catalog,且标签 key 区分 catalog。catalog 只在 create_external_engine 的 PostgreSQL 分支使用,MySQL/MariaDB/SQLite 忽略。 验证:本机临时 postgres:18.6 跑 test_database_postgres.py 全部 10 个(含新的跨库 CellData 编辑)通过;临时 mysql:8.4 跑新增 test_database_mysql.py 通过(catalog 缺省/空/任意值结果相同);全量后端 pytest exit 0;npm typecheck 通过。临时容器已删。 发布:提交 fa7bdb6 已推送;publish-web.ps1 -WithServer 从 9119b3e 叠加为 metrix-app:fa7bdb6,VERIFY_OK。 给下个会话:生产镜像 metrix-app:fa7bdb6。plugins/CapacityReport 子模块有未提交改动,不是本次内容,不要提交。本机 Docker Desktop 需要手动启动。在线测试环境变量:METRIX_TEST_PG_URL、METRIX_TEST_MYSQL_URL。