pgAdmin III commit: Don't send the Greenplum query for each user, but i

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема pgAdmin III commit: Don't send the Greenplum query for each user, but i
Дата
Msg-id 201008042139.o74LdESH011014@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
Commit: http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=6f93c1629447faf41c3936142d8e6588f3912add

Log Message
-----------
Don't send the Greenplum query for each user, but import it in the big roles
query.

The CreateObjects() method launched a query to get all informations, but not
the Greenplum one. Then, another query is launched for every user if we are
connected to a Greenplum database. This patch merges the two query so that
only one query is launched.

Report from Little, Douglas. Patch from me. Checked by Chuck McDevitt.

Branch
------
master

Modified Files
--------------
CHANGELOG                 |    2 ++
pgadmin/schema/pgRole.cpp |   35 ++++++++++++++++++++++-------------
2 files changed, 24 insertions(+), 13 deletions(-)


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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Patch on roles query for pgAdmin with a Greenplum database
Следующее
От: "pgAdmin Trac"
Дата:
Сообщение: Re: [pgAdmin III] #221: A Greenplum query is executed once per role