How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Why ON CONFLICT does not stop a duplicate-key error

calendar_today November 23, 2026 domain busymail-app

An upsert names one index to arbitrate on. Every other unique index on the table is still enforced, and two concurrent writers can hit it. The 500 that taught me this, and the fix that made the account the only arbiter.

open_in_new Read original post