pgAdmin III commit: Use -w switch when available for dump/restore

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Use -w switch when available for dump/restore
Date: 2010-11-01 16:03:40
Message-ID: 201011011603.oA1G3eOt093197@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2010-11-01 16:05:19 Re: [pgAdmin III] #270: Use -v switch for pg_dump and pg_restore
Previous Message pgAdmin Trac 2010-11-01 16:01:37 Re: [pgAdmin III] #274: Restore database form button