Обсуждение: Patch on roles query for pgAdmin with a Greenplum database
Hi Chuck, As you sent some patches for pgAdmin to work better with Greenplum database, I'm wondering if you could try this patch on 1.12 branch with a Greenplum database. As I don't have one, it's not easy to check if it works as I supposed. The issue is explained here: http://archives.postgresql.org/pgadmin-support/2010-08/msg00001.php. The OP sees a lot of queries from pgAdmin, always the same and it seems related to our roles query. I've changed the CreateObjects method so that we didn't launch one query for each user. But I'm not sure it works. Can you try it? Thanks. Regards. -- Guillaume http://www.postgresql.fr http://dalibo.com
Вложения
A quick test showed no problems for me. > -----Original Message----- > From: Guillaume Lelarge [mailto:guillaume@lelarge.info] > Sent: Tuesday, August 03, 2010 11:19 PM > To: Chuck McDevitt > Cc: pgadmin-hackers > Subject: Patch on roles query for pgAdmin with a Greenplum database > > Hi Chuck, > > As you sent some patches for pgAdmin to work better with Greenplum > database, I'm wondering if you could try this patch on 1.12 branch with > a Greenplum database. As I don't have one, it's not easy to check if it > works as I supposed. > > The issue is explained here: > http://archives.postgresql.org/pgadmin-support/2010-08/msg00001.php. The > OP sees a lot of queries from pgAdmin, always the same and it seems > related to our roles query. I've changed the CreateObjects method so > that we didn't launch one query for each user. But I'm not sure it works. > > Can you try it? > > Thanks. > > Regards. > > > -- > Guillaume > http://www.postgresql.fr > http://dalibo.com
Le 04/08/2010 22:55, Chuck McDevitt a écrit : > A quick test showed no problems for me. > Great, thanks. I applied the patch. -- Guillaume http://www.postgresql.fr http://dalibo.com
Le 04/08/2010 23:36, Guillaume Lelarge a écrit : > Le 04/08/2010 22:55, Chuck McDevitt a écrit : >> A quick test showed no problems for me. >> > > Great, thanks. I applied the patch. > > Thinking about it, It probably shouldn't have commited it in the 1.12 branch. Comments on this? I can revert my path if needed. -- Guillaume http://www.postgresql.fr http://dalibo.com
It sounded like a bug to me. 1.12 seems fine. On 8/4/10, Guillaume Lelarge <guillaume@lelarge.info> wrote: > Le 04/08/2010 23:36, Guillaume Lelarge a écrit : >> Le 04/08/2010 22:55, Chuck McDevitt a écrit : >>> A quick test showed no problems for me. >>> >> >> Great, thanks. I applied the patch. >> >> > > Thinking about it, It probably shouldn't have commited it in the 1.12 > branch. Comments on this? I can revert my path if needed. > > > -- > Guillaume > http://www.postgresql.fr > http://dalibo.com > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise Postgres Company
Le 05/08/2010 12:21, Dave Page a écrit : > It sounded like a bug to me. 1.12 seems fine. > More a performance issue, than a real bug. 1.12 seems fine to me too. -- Guillaume http://www.postgresql.fr http://dalibo.com