摘要: 以后更改字段长度会重写表,如果表比较大,那么表会加锁,需要很长时间 通过一种方法通过修改pg_attribute.atttypmod字段修改长度,不需要重写表 查询select * from pg_attribute where attrelid='sp_sa_salestat'::regclass 阅读全文
posted @ 2019-10-17 09:50 歪脖大叔 阅读(6114) 评论(0) 推荐(0) 编辑