Skip to content
Snippets Groups Projects
Forked from CIP-Admins / goatherd
Source project has a limited visibility.
  • Lukas Braun's avatar
    71ab0f62
    Add support for PostgreSQL · 71ab0f62
    Lukas Braun authored
    The transaction_conflict test in its previous form would deadlock
    because PostgreSQL locks tables/rows instead of aborting on every
    conflict. The fix is to force a rollback by first reading and then
    updating in both transactions, which would result in a lost update
    otherwise.
    71ab0f62
    History
    Add support for PostgreSQL
    Lukas Braun authored
    The transaction_conflict test in its previous form would deadlock
    because PostgreSQL locks tables/rows instead of aborting on every
    conflict. The fix is to force a rollback by first reading and then
    updating in both transactions, which would result in a lost update
    otherwise.