Great that Heroku sponsored upsert and have support for 9.5 right now (in beta): <a href="https:&#x2F;&#x2F;blog.heroku.com&#x2F;archives&#x2F;2016&#x2F;1&#x2F;7&#x2F;postgres-95-now-available-on-heroku" rel="nofollow">https:&#x2F;&#x2F;blog.heroku.com&#x2F;archives&#x2F;2016&#x2F;1&#x2F;7&#x2F;postgres-95-now-av...</a>?