Declarative optimistic locking
Add SQL clauses that let UPDATE and DELETE raise an error when they affect zero rows, so applications can enforce optimistic locking with version predicates.
Versions
- PostgreSQL 19 · worked-on · new · moderate
Add SQL clauses that let UPDATE and DELETE raise an error when they affect zero rows, so applications can enforce optimistic locking with version predicates.