keter-1.3.2: Web application deployment manager, focusing on Haskell web frameworks

Safe HaskellNone

Keter.Plugin.Postgres

Contents

Synopsis

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 PluginSource

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.