Keter.Plugin.Postgres
Contents
data Settings Source #
setupDBInfo :: Settings -> DBInfo -> IO () Source #
How to create the given user/database. Default: uses the psql command line tool and sudo -u postgres.
psql
sudo -u postgres
defaultSettings :: Settings Source #
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.