refactor: 协程启动优化、tagviews调整

This commit is contained in:
meilin.huang
2026-01-20 19:45:46 +08:00
parent 0472c5101f
commit f0de65b7ce
35 changed files with 239 additions and 254 deletions

View File

@@ -27,10 +27,9 @@ func (pd *PgsqlDialect) CopyTable(copy *dbi.DbCopyTable) error {
// 复制数据
if copy.CopyData {
go func() {
defer gox.RecoverPanic()
gox.Go(func() {
_, _ = pd.dc.Exec(fmt.Sprintf("insert into %s select * from %s", newTableName, tableName))
}()
})
}
// 查询旧表的自增字段名 重新设置新表的序列序列器