Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hasura.Backends.Postgres.Connection.Settings
Contents
Description
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 #
Constructors
PostgresPoolSettings | |
Instances
data DefaultPostgresPoolSettings Source #
Constructors
DefaultPostgresPoolSettings | |
Fields |
Instances
Show DefaultPostgresPoolSettings Source # | |
Defined in Hasura.Backends.Postgres.Connection.Settings Methods showsPrec :: Int -> DefaultPostgresPoolSettings -> ShowS # show :: DefaultPostgresPoolSettings -> String # showList :: [DefaultPostgresPoolSettings] -> ShowS # | |
Eq DefaultPostgresPoolSettings Source # | |
Defined in Hasura.Backends.Postgres.Connection.Settings Methods (==) :: DefaultPostgresPoolSettings -> DefaultPostgresPoolSettings -> Bool # (/=) :: DefaultPostgresPoolSettings -> DefaultPostgresPoolSettings -> Bool # |
getDefaultPGPoolSettingIfNotExists :: Maybe PostgresPoolSettings -> DefaultPostgresPoolSettings -> (Int, Int, Int) Source #
Instances
Instances
data PGClientCerts p a Source #
Constructors
PGClientCerts | |
Fields
|
Instances
data PostgresSourceConnInfo Source #
Constructors
PostgresSourceConnInfo | |
Instances
data KritiTemplate Source #
`kriti-lang` template.
Constructors
KritiTemplate | |
Fields
|
Instances
data ConnectionTemplate Source #
Connection template for the dynamic DB connection.
Constructors
ConnectionTemplate | |
Fields
|
Instances
newtype PostgresConnectionSetMemberName Source #
Name of the member of a connection set.
Constructors
PostgresConnectionSetMemberName | |
Instances
data PostgresConnectionSetMember Source #
Constructors
PostgresConnectionSetMember | |
Instances
newtype PostgresConnectionSet Source #
HashMap of the connection set. This is used for the dynamic DB connection feature.
Constructors
PostgresConnectionSet | |
Instances
data PostgresConnConfiguration Source #
Constructors
PostgresConnConfiguration | |
Instances
Orphan instances
FromJSON TxIsolation Source # | |
Methods parseJSON :: Value -> Parser TxIsolation Source # parseJSONList :: Value -> Parser [TxIsolation] Source # | |
ToJSON TxIsolation Source # | |
Methods toJSON :: TxIsolation -> Value Source # toEncoding :: TxIsolation -> Encoding Source # toJSONList :: [TxIsolation] -> Value Source # toEncodingList :: [TxIsolation] -> Encoding Source # | |
HasCodec TxIsolation Source # | |
Methods codec :: JSONCodec TxIsolation Source # listCodecForStringCompatibility :: JSONCodec [TxIsolation] Source # | |
Generic TxIsolation Source # | |
Associated Types type Rep TxIsolation :: Type -> Type # | |
NFData TxIsolation Source # | |
Methods rnf :: TxIsolation -> () # | |
Hashable TxIsolation Source # | |