Re: Large number of rows in pg_type and slow gui (pgadmin) refresh

From: "Robert Klaus" <rklaus(at)nexgenwireless(dot)com>
To: "'Guillaume Lelarge'" <guillaume(at)lelarge(dot)info>
Cc: <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Large number of rows in pg_type and slow gui (pgadmin) refresh
Date: 2013-01-06 21:39:02
Message-ID: 000301cdec56$3edee4f0$bc9caed0$@com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support


Thank you! I think this is exactly what we need. Just get a list of all namespaces in the server except for the one that we don't want to appear and put them in a string of schemanames . . . 'public','evdo','lte','voice', ... etc

-----Original Message-----
From: pgadmin-support-owner(at)postgresql(dot)org [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Guillaume Lelarge
Sent: Sunday, January 06, 2013 11:49 AM
To: Robert Klaus
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: [pgadmin-support] Large number of rows in pg_type and slow gui (pgadmin) refresh

On Sun, 2013-01-06 at 11:27 -0600, Robert Klaus wrote:
> Get all schemas, except some of them. One schema will have 90+% of the database objects.
>

You can already do that without having a custom pgAdmin.

> If we could eliminate that schema fewer rows would be returned by the underlying queries, allowing us to continue using pgAdmin.
>
> I've only been working with this company (and postgresql) for 90 days so if there is a better way (other than rewriting the application that creates all those tables and views) please let me know how to proceed.
>

Get into the properties of your database, select the Definition tab, add your schema name in the "Schema restriction" textbox (make sure you put single quotes around it), and click OK. Disconnect, reconnect... should work.

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

--
Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Richard Tretowski 2013-01-06 23:06:49 Unable to use revised password in New Server Registration
Previous Message Guillaume Lelarge 2013-01-06 18:55:56 Re: See full query text in Server Status window