4
UPSERT on Postgres 9.5 (blog.andrebarbosa.co)