Skip to content

Commit

Permalink
added optional trailing zeroes to Day parsing and changed ABORT to RO…
Browse files Browse the repository at this point in the history
…LLBACK to add support for CockroachDB.
  • Loading branch information
george-steel committed Jan 31, 2018
1 parent 664d608 commit b6feac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/PostgreSQL/Simple/Transaction.hs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ withTransactionModeRetry mode shouldRetry conn act =

-- | Rollback a transaction.
rollback :: Connection -> IO ()
rollback conn = execute_ conn "ABORT" >> return ()
rollback conn = execute_ conn "ROLLBACK" >> return ()

-- | Rollback a transaction, ignoring any @IOErrors@
rollback_ :: Connection -> IO ()
Expand Down

0 comments on commit b6feac8

Please sign in to comment.