keter-1.8.4: Web application deployment manager, focusing on Haskell web frameworks
Safe HaskellNone
LanguageHaskell98

Keter.Plugin.Postgres

Synopsis

Settings

data Settings Source #

Instances

Instances details
Default Settings Source # 
Instance details

Defined in Keter.Plugin.Postgres

Methods

def :: Settings #

setupDBInfo :: Settings -> DBInfo -> IO () Source #

How to create the given user/database. Default: uses the psql command line tool and sudo -u postgres.

Functions

load :: Settings -> FilePath -> IO Plugin Source #

Load a set of existing connections from a config file. If the file does not exist, it will be created. Any newly created databases will automatically be saved to this file.