everzet/capifony — pull request #381 by Wesseldr (2013-05-26 21:18:31+00:00)
Title: Improvement #112 PostgresqlDB password is passed to pg_dump and psql command

Postgresql database usages improvement

Current version did not pass the database password into the pg_dump or the psql command during any of the tasks:

cap database:dump:local
cap database:dump:remote
cap database:move:to_local
cap database:move:to_remote

The impact was that password protected postgresql database could not be dumped or moved unless a .pgpass file is used on the remote and local server.
This patch will pass the password into these commands and will no longer needs the usages of a .pgpass file on the remote and local host.

This is an enhancement of the previous issue: https://github.com/everzet/capifony/pull/112