We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c93d40f commit 4cf655aCopy full SHA for 4cf655a
src/Database/PostgreSQL/PQTypes/Transaction.hs
@@ -30,7 +30,7 @@ instance IsString Savepoint where
30
--
31
-- See <http://www.postgresql.org/docs/current/static/sql-savepoint.html>
32
withSavepoint :: (HasCallStack, MonadDB m, MonadMask m) => Savepoint -> m a -> m a
33
-withSavepoint (Savepoint savepoint) m = do
+withSavepoint (Savepoint savepoint) m =
34
fst
35
<$> generalBracket
36
(runQuery_ $ "SAVEPOINT" <+> savepoint)
0 commit comments