Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Postgres Connection Settings
This module contains types and combinators related to postgres connection, pool, and replica related settings.
Synopsis
- data PostgresPoolSettings = PostgresPoolSettings {}
- data DefaultPostgresPoolSettings = DefaultPostgresPoolSettings {}
- defaultPostgresPoolSettings :: DefaultPostgresPoolSettings
- setPostgresPoolSettings :: PostgresPoolSettings
- getDefaultPGPoolSettingIfNotExists :: Maybe PostgresPoolSettings -> DefaultPostgresPoolSettings -> (Int, Int, Int)
- data SSLMode
- newtype CertVar = CertVar String
- newtype CertData = CertData {}
- data PGClientCerts p a = PGClientCerts {
- pgcSslCert :: Maybe a
- pgcSslKey :: Maybe a
- pgcSslRootCert :: Maybe a
- pgcSslMode :: SSLMode
- pgcSslPassword :: Maybe p
- data PostgresSourceConnInfo = PostgresSourceConnInfo {}
- defaultPostgresExtensionsSchema :: ExtensionsSchema
- data KritiTemplate = KritiTemplate {}
- data ConnectionTemplate = ConnectionTemplate {}
- newtype PostgresConnectionSetMemberName = PostgresConnectionSetMemberName {}
- data PostgresConnectionSetMember = PostgresConnectionSetMember {}
- newtype PostgresConnectionSet = PostgresConnectionSet {}
- data PostgresConnConfiguration = PostgresConnConfiguration {}
Documentation
data PostgresPoolSettings Source #
Instances
data DefaultPostgresPoolSettings Source #
Instances
getDefaultPGPoolSettingIfNotExists :: Maybe PostgresPoolSettings -> DefaultPostgresPoolSettings -> (Int, Int, Int) Source #
Instances
Instances
data PGClientCerts p a Source #
PGClientCerts | |
|
Instances
data PostgresSourceConnInfo Source #
Instances
data KritiTemplate Source #
`kriti-lang` template.
KritiTemplate | |
|
Instances
data ConnectionTemplate Source #
Connection template for the dynamic DB connection.
ConnectionTemplate | |
|
Instances
newtype PostgresConnectionSetMemberName Source #
Name of the member of a connection set.
Instances
data PostgresConnectionSetMember Source #
Instances
newtype PostgresConnectionSet Source #
HashMap of the connection set. This is used for the dynamic DB connection feature.
Instances
data PostgresConnConfiguration Source #
Instances
Orphan instances
FromJSON TxIsolation Source # | |
parseJSON :: Value -> Parser TxIsolation Source # parseJSONList :: Value -> Parser [TxIsolation] Source # | |
ToJSON TxIsolation Source # | |
toJSON :: TxIsolation -> Value Source # toEncoding :: TxIsolation -> Encoding Source # toJSONList :: [TxIsolation] -> Value Source # toEncodingList :: [TxIsolation] -> Encoding Source # | |
HasCodec TxIsolation Source # | |
Generic TxIsolation Source # | |
type Rep TxIsolation :: Type -> Type # from :: TxIsolation -> Rep TxIsolation x # to :: Rep TxIsolation x -> TxIsolation # | |
NFData TxIsolation Source # | |
rnf :: TxIsolation -> () # | |
Hashable TxIsolation Source # | |
hashWithSalt :: Int -> TxIsolation -> Int Source # hash :: TxIsolation -> Int Source # |