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.
Why ON CONFLICT does not stop a duplicate-key error
calendar_today
November 23, 2026
domain
busymail-app