Postgresql update后的returning的结果集有没有办法保存?
从v9.6开始可以使用COPY保存,例如
copy (update xxx set b='ccc' where a=100 returning *) to stdout;