pgAdmin III commit: Fix an error when clicking on "Display objects" - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Fix an error when clicking on "Display objects"
Date
Msg-id 201101301602.p0UG24vX083560@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Fix an error when clicking on "Display objects"

The frmRestore::OnEndProcess() function, when it reads the toc information,
should ignore the line which contains the entry for the dumped database
itself. So the current code erroneously tries to find the schema to which
the DATABASE object belongs and gives out the above error. The fix is to
ignore the input line which contains the db information. The pg_restore
binary also seems to do the same.

Report and patch from Nikhil S.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=73811fd43a8e94e6cf178a6a6765a9eb415e3828
Author: Nikhil S <nixmisc@gmail.com>

Modified Files
--------------
CHANGELOG                  |    2 ++
pgadmin/frm/frmRestore.cpp |    9 ++++++++-
2 files changed, 10 insertions(+), 1 deletions(-)


pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Patch to support SSL certificate connections
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix an error when clicking on "Display objects"