Postgresql Update Case When Multiple