psql-utils-0.2.0.0: PostgreSQL Simple util tools.
Database.PSQL.Config
data PSQL Source #
Constructors
Fields
The number of stripes (distinct sub-pools) to maintain.
Amount of time for which an unused resource is kept alive.
Maximum number of resources to maintain per stripe. The
Defined in Database.PSQL.Config
Methods
showsPrec :: Int -> PSQL -> ShowS #
show :: PSQL -> String #
showList :: [PSQL] -> ShowS #
parseJSON :: Value -> Parser PSQL #
parseJSONList :: Value -> Parser [PSQL] #
genPSQLPool :: PSQL -> IO (Pool Connection) Source #