pgAdmin III commit: Fix an error when clicking on "Display objects"

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема pgAdmin III commit: Fix an error when clicking on "Display objects"
Дата
Msg-id 201101301602.p0UG247g083562@gothos.postgresql.org
обсуждение исходный текст
Список 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
------
REL-1_12_0_PATCHES

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

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


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: pgAdmin III commit: Fix an error when clicking on "Display objects"
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: pgAdmin III: Error on clicking "Display Objects" while doing a restore