| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.PostgreSQL.PQTypes.Transaction.Settings
Synopsis
- data RestartPredicate = Exception e => RestartPredicate (e -> Integer -> Bool)
- data TransactionSettings = TransactionSettings {}
- data IsolationLevel
- data Permissions
- def :: Default a => a
Documentation
data RestartPredicate Source #
Predicate that determines whether the transaction has to be restarted.
Constructors
| Exception e => RestartPredicate (e -> Integer -> Bool) |
Instances
| Show RestartPredicate Source # | |
Defined in Database.PostgreSQL.PQTypes.Transaction.Settings Methods showsPrec :: Int -> RestartPredicate -> ShowS # show :: RestartPredicate -> String # showList :: [RestartPredicate] -> ShowS # | |
data TransactionSettings Source #
Constructors
| TransactionSettings | |
Fields
| |
Instances
| Show TransactionSettings Source # | |
Defined in Database.PostgreSQL.PQTypes.Transaction.Settings Methods showsPrec :: Int -> TransactionSettings -> ShowS # show :: TransactionSettings -> String # showList :: [TransactionSettings] -> ShowS # | |
| Default TransactionSettings Source # | Default transaction settings. |
Defined in Database.PostgreSQL.PQTypes.Transaction.Settings Methods | |
data IsolationLevel Source #
Constructors
| DefaultLevel | |
| ReadCommitted | |
| RepeatableRead | |
| Serializable |
Instances
| Eq IsolationLevel Source # | |
Defined in Database.PostgreSQL.PQTypes.Transaction.Settings Methods (==) :: IsolationLevel -> IsolationLevel -> Bool # (/=) :: IsolationLevel -> IsolationLevel -> Bool # | |
| Ord IsolationLevel Source # | |
Defined in Database.PostgreSQL.PQTypes.Transaction.Settings Methods compare :: IsolationLevel -> IsolationLevel -> Ordering # (<) :: IsolationLevel -> IsolationLevel -> Bool # (<=) :: IsolationLevel -> IsolationLevel -> Bool # (>) :: IsolationLevel -> IsolationLevel -> Bool # (>=) :: IsolationLevel -> IsolationLevel -> Bool # max :: IsolationLevel -> IsolationLevel -> IsolationLevel # min :: IsolationLevel -> IsolationLevel -> IsolationLevel # | |
| Show IsolationLevel Source # | |
Defined in Database.PostgreSQL.PQTypes.Transaction.Settings Methods showsPrec :: Int -> IsolationLevel -> ShowS # show :: IsolationLevel -> String # showList :: [IsolationLevel] -> ShowS # | |
data Permissions Source #
Constructors
| DefaultPermissions | |
| ReadOnly | |
| ReadWrite |
Instances
| Eq Permissions Source # | |
| Ord Permissions Source # | |
Defined in Database.PostgreSQL.PQTypes.Transaction.Settings Methods compare :: Permissions -> Permissions -> Ordering # (<) :: Permissions -> Permissions -> Bool # (<=) :: Permissions -> Permissions -> Bool # (>) :: Permissions -> Permissions -> Bool # (>=) :: Permissions -> Permissions -> Bool # max :: Permissions -> Permissions -> Permissions # min :: Permissions -> Permissions -> Permissions # | |
| Show Permissions Source # | |
Defined in Database.PostgreSQL.PQTypes.Transaction.Settings Methods showsPrec :: Int -> Permissions -> ShowS # show :: Permissions -> String # showList :: [Permissions] -> ShowS # | |