From 046d9e08cec75229126462a9d5ceeb22187466cb Mon Sep 17 00:00:00 2001 From: MemRelay Date: Wed, 11 Nov 2026 02:45:13 +0800 Subject: [PATCH] create: Checkpoint 2026-11-10 18:45:10 UTC [96d8db0387] MemRelay-Operation: checkpoint-save:ckpt-pg-catalog-fa7bdb6 MemRelay-Resource: 681dfee9-8b19-4781-9a79-0261e1412d19 --- ...nt 2026-11-10 18-45-10 UTC [96d8db0387].md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/d5a7f581-c442-4554-87b9-ee723b8b0258/Checkpoint 2026-11-10 18-45-10 UTC [96d8db0387].md diff --git a/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/Checkpoint 2026-11-10 18-45-10 UTC [96d8db0387].md b/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/Checkpoint 2026-11-10 18-45-10 UTC [96d8db0387].md new file mode 100644 index 0000000..6f3886b --- /dev/null +++ b/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/Checkpoint 2026-11-10 18-45-10 UTC [96d8db0387].md @@ -0,0 +1,23 @@ +--- +title: Checkpoint 2026-11-10 18:45:10 UTC [96d8db0387] +type: checkpoint +permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/checkpoint-2026-11-10-18-45-10-utc-96d8db0387 +stable_id: 681dfee9-8b19-4781-9a79-0261e1412d19 +scope: project +memory_type: checkpoint +project_id: d5a7f581-c442-4554-87b9-ee723b8b0258 +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: ckpt-pg-catalog-fa7bdb6 +created_at: '2026-11-10T18:45:10.825338+00:00' +updated_at: '2026-11-10T18:45:10.825338+00:00' +tags: +- release +- database +--- + +完成:数据库管理里 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。 \ No newline at end of file