Use -w switch when available for dump/restore
If a user tries to dump a database within pgAdmin, and if there is no .pgpass
file, pgAdmin is frozen waiting for a password noone can enter. The -w switch
allows the use of .pgpass file but, if this file is missing and the
authentication method asks for a password, pg_dump/pg_restore will fail rather
than block pgAdmin.
Report from Anssi Kaariainen.
Implements #270.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=38a25760944c9a34fee0cd2030b8a5e952b03360
Modified Files
--------------
CHANGELOG | 1 +
pgadmin/frm/frmBackup.cpp | 3 +++
pgadmin/frm/frmBackupGlobals.cpp | 3 +++
pgadmin/frm/frmBackupServer.cpp | 3 +++
pgadmin/frm/frmRestore.cpp | 3 +++
5 files changed, 13 insertions(+), 0 deletions(-)