pgAdmin III commit: Fix crash when selecting a not-connected database

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема pgAdmin III commit: Fix crash when selecting a not-connected database
Дата
Msg-id 201008260830.o7Q8UcFH096112@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
Commit: http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=17f31b4e5a357bf5d872b9a92a3c9252815e4b68

Log Message
-----------
Fix crash when selecting a not-connected database

When pgAdmin's browser is on the statistics tab and if a user clicks on a
not-already-connected database, the queries on statistics informations
are fired over a non-existant connection, this resulting in a crash.

This patch uses the connection of the maintenance database if pgAdmin
doesn't already have a connection to the database for which we want to see
statistics.

Branch
------
REL-1_12_0_PATCHES

Modified Files
--------------
pgadmin/schema/pgDatabase.cpp |    5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)


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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Fwd: [HACKERS] Packaging of PG 9.0RC1
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: pgAdmin III commit: Default role support in server configs, quick conne