packages feed

hpqtypes 1.2.3 → 1.2.4

raw patch · 2 files changed

+5/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Database.PostgreSQL.PQTypes.Transaction: instance IsString Savepoint

Files

hpqtypes.cabal view
@@ -1,5 +1,5 @@ name:                hpqtypes-version:             1.2.3+version:             1.2.4 synopsis:            Haskell bindings to libpqtypes  description:         Efficient and easy-to-use bindings to (slightly modified)
src/Database/PostgreSQL/PQTypes/Transaction.hs view
@@ -15,6 +15,7 @@  import Control.Monad import Control.Monad.Catch+import Data.String import Data.Typeable  import Data.Monoid.Space@@ -27,6 +28,9 @@  -- | Wrapper that represents savepoint name. newtype Savepoint = Savepoint (RawSQL ())++instance IsString Savepoint where+  fromString = Savepoint . fromString  -- | Create a savepoint and roll back to it if given monadic action throws. -- This may only be used if a transaction is already active. Note that it