Preventing duplicate writes during Heroku Router request retries
Handling Idempotency in Heroku Postgres When deploying applications on Heroku, the Heroku Router may trigger request retries under specific failure conditions. If a request successfully commits a transaction to Heroku Postgres but the response fails to reach the router, a subsequent retry can lead to duplicate data entries. While PostgreSQL supports ACID tra