Sql 无法更新postgres中的时间戳

Sql 无法更新postgres中的时间戳,sql,postgresql,Sql,Postgresql,这是我正在使用的查询 update table_x set is_resolved = true and updated_on='2015-02-06 13:51:04.980294' where ps='XXX' and pi='YYY' and is_resolved is false and activity_type='ZZZ' 运行更新时的结果是: “查询成功返回:一行受影响,执行时间为22毫秒。” 当我这样做的时候 select * from table_x where wher

这是我正在使用的查询

update table_x set is_resolved = true and updated_on='2015-02-06 13:51:04.980294' 
where ps='XXX' and pi='YYY' and is_resolved is false and activity_type='ZZZ'
运行更新时的结果是:

“查询成功返回:一行受影响,执行时间为22毫秒。”

当我这样做的时候

select * from table_x where where ps='XXX' and pi='YYY'  and activity_type='ZZZ'

我仍然看到
已解析
已更新
值未更改

也许你的意思是:
更新表x集已解析=真,已更新
@wildplasser谢谢你,我知道我在那里做了什么