postgresql 清空某个字段 update 表名 set 字段名=null postgresql将某个字段null替换成其他值 update 表名 set 字段名='0' where 表名.字段名 is null;