psql CLI executable on the target host(s).
All operations in this module take five optional arguments:
psql_user: the username to connect to postgresql topsql_password: the password for the connecting userpsql_host: the hostname of the server to connect topsql_port: the port of the server to connect topsql_database: the database on the server to connect to
Functions
postgres.sql
Execute arbitrary SQL against PostgreSQL.
postgres.role
Add/remove PostgreSQL roles.
postgres.database
Add/remove PostgreSQL databases.
postgres.dump
Dump a PostgreSQL database into a .sql file. Requires pg_dump.
postgres.load
Load .sql file into a database.
