結果 : postgres set value based on another column