Safe Haskell | None |
---|---|
Language | Haskell2010 |
Postgres Connection Settings
This module contains types and combinators related to postgres connection, pool, and replica related settings.
Documentation
data PostgresPoolSettings Source #
Instances
data DefaultPostgresPoolSettings Source #
Instances
getDefaultPGPoolSettingIfNotExists :: Maybe PostgresPoolSettings -> DefaultPostgresPoolSettings -> (Int, Int, Int) Source #
Instances
Instances
Eq CertVar Source # | |
Show CertVar Source # | |
Generic CertVar Source # | |
NFData CertVar Source # | |
Defined in Hasura.Backends.Postgres.Connection.Settings | |
Hashable CertVar Source # | |
Defined in Hasura.Backends.Postgres.Connection.Settings | |
FromJSON CertVar Source # | |
Defined in Hasura.Backends.Postgres.Connection.Settings parseJSON :: Value -> Parser CertVar parseJSONList :: Value -> Parser [CertVar] | |
ToJSON CertVar Source # | |
Defined in Hasura.Backends.Postgres.Connection.Settings toEncoding :: CertVar -> Encoding toJSONList :: [CertVar] -> Value toEncodingList :: [CertVar] -> Encoding | |
Cacheable CertVar Source # | |
type Rep CertVar Source # | |
Defined in Hasura.Backends.Postgres.Connection.Settings |
Instances
Eq CertData Source # | |
Show CertData Source # | |
Generic CertData Source # | |
ToJSON CertData Source # | |
Defined in Hasura.Backends.Postgres.Connection.Settings toEncoding :: CertData -> Encoding toJSONList :: [CertData] -> Value toEncodingList :: [CertData] -> Encoding | |
type Rep CertData Source # | |
Defined in Hasura.Backends.Postgres.Connection.Settings |
data PGClientCerts p a Source #
PGClientCerts | |
|
Instances
data PostgresSourceConnInfo Source #
Instances
psciSslConfiguration :: Lens' PostgresSourceConnInfo (Maybe (PGClientCerts CertVar CertVar)) Source #
psciIsolationLevel :: Lens' PostgresSourceConnInfo TxIsolation Source #
psciDatabaseUrl :: Lens' PostgresSourceConnInfo UrlConf Source #
data PostgresConnConfiguration Source #
Instances
pccReadReplicas :: Lens' PostgresConnConfiguration (Maybe (NonEmpty PostgresSourceConnInfo)) Source #
Orphan instances
Generic TxIsolation Source # | |
NFData TxIsolation Source # | |
Hashable TxIsolation Source # | |
hashWithSalt :: Int -> TxIsolation -> Int | |
FromJSON TxIsolation Source # | |
parseJSON :: Value -> Parser TxIsolation parseJSONList :: Value -> Parser [TxIsolation] | |
ToJSON TxIsolation Source # | |
toJSON :: TxIsolation -> Value toEncoding :: TxIsolation -> Encoding toJSONList :: [TxIsolation] -> Value toEncodingList :: [TxIsolation] -> Encoding | |
Cacheable TxIsolation Source # | |