github.com/puppetlabs/puppetlabs-postgresql/blob/master/lib/puppet/type/postgresql_psql.rb
An arbitrary tag for your own reference; the name of the message.
The SQL command to execute via psql.
Connection settings that will be used when connecting to postgres
The working directory under which the psql command should be executed.
The name of the database to execute the SQL command against, this overrides any PGDATABASE value in connect_settings
Any additional environment variables you want to set for a SQL command. Multiple environment variables should be specified as an array.
An optional SQL command to execute prior to the main :command;
The port of the database server to execute the SQL command against, this overrides any PGPORT value in connect_settings.
The system user group account under which the psql command should be executed.
The path to psql executable.
The system user account under which the psql command should be executed.
If 'true', then the SQL will only be executed via a notify/subscribe event.
The schema search path to use when executing the SQL command